I copied script.sh inside /etc/
#!/bin/sh
clear
read -p "Insert your Windows installation disk and press a key to continue" disco
sudo mount -t auto /dev/cdrom /mnt/cdrom
dosemu
I call it inside the /etc/rc.local file :
rc.local
....
/etc/script.sh
I made it executable,with chmod +x script.sh
and at the end I re-booted Knoppix with runlevel 2,but when it has finished to be loaded in memory,the script.sh is not started.


Reply With Quote










