[Gordon Farquharson] >> Why not only run one at the end >> of rcS.d (which is imedately before the start of rc[0-6].d), and then >> again at the end of rc[0-6].d? > > This is a key point: what do I set in the LSB header to ensure that > the script is run at the _end_ of each of these runlevels?
Adding a start-depend on $all make sure a script is started at the end together with all the other scripts with $all in their dependencies. It should generally be avoided unless really needed, because it do not behave the way most people expect it to work. See <URL:http://wiki.debian.org/LSBInitScripts> for info on $all. What should the led blinking at the end of the normal runlevels indicate? That ssh is up and running and accepting logins? If so, perhaps it is better to depend on rmnologin and ssh? Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org