You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iso/inject.sh

11 lines
221 B
Bash

#!/bin/bash
echo "inject.sh started."
echo "Chrooting to $1, and running chrooted.sh"
cp chrooted.sh ${1}/.
chmod +x ${1}/chrooted.sh
chroot $1 /bin/bash -c ./chrooted.sh
rm ${1}/chrooted.sh
echo "inject.sh completed."