coloringb
10-07-2011, 01:01 AM
Hi all, I am new to Knoppix, recently I downloaded v6.7 and put it to PXE. I am wondering is it possible to call a script from knoppix.sh? I tried to put the path of my new script in knoppix.sh, and chmod+x the new script, but after knoppix booted up the new script won't execute. Thanks
I have the default settings file myconf=scan
knoppix.sh command:
#!/bin.sh
echo "Hi knoppix"
sh /tftpboot/KNOPPIX/test.sh
echo "Bye knoppix"
Outcome:
Executing /mnt/system/KNOPPIX/knoppix.sh
Hi knoppix
sh: can't open 'tftpboot/KNOPPIX/test.sh'
Bye knoppix
INIT:Entering runlevel:3
I have the default settings file myconf=scan
knoppix.sh command:
#!/bin.sh
echo "Hi knoppix"
sh /tftpboot/KNOPPIX/test.sh
echo "Bye knoppix"
Outcome:
Executing /mnt/system/KNOPPIX/knoppix.sh
Hi knoppix
sh: can't open 'tftpboot/KNOPPIX/test.sh'
Bye knoppix
INIT:Entering runlevel:3