Quote Originally Posted by Marietto
I re-booted Knoppix with runlevel 2,but when it has finished to be loaded in memory,the script.sh is not started.
Where did you look for the output of /etc/rc.local ? If you read the file /etc/init.d/knoppix-autoconfig you will find the command line where /etc/rc.local is executed on virtual terminal #12. I think you have to switch over to vt #12. But if there are additional messages on this vt coming from services already started or the kernel it might be difficult to identify rc.local's output. Thus, I think, altering the vt from #12 to #11 could help. In addition I would switch over to vt #11 before the read command is executed. The old command line in /etc/init.d/knoppix-autoconfig is
Code:
[ -x /etc/rc.local ] && /usr/bin/openvt -c 12 -f -- /etc/rc.local
The new command line could be
Code:
[ -x /etc/rc.local ] && /usr/bin/openvt -c 11 -w -b -f -s -- /etc/rc.local