Miquel van Smoorenburg wrote: > > > b) All scripts in /etc/init.d, /etc/rc.boot and similar directories > > > have to be standalone shell scripts. They must have the 'x' flag > > > turned on and contain a regular command to execute them in the > > > first line (such as "#! /bin/sh"). They must not be called *.sh. > > But ONLY if they were designed to be run by a user / root, which > isn't true for the *.sh scripts ...
So regular *.sh scripts must not contain any "exit" statement. (which is the case e.g. for keymap.sh) Regards, Joey -- We all know Linux is great... it does infinite loops in 5 seconds. - Linus Torvalds