On Tue, 2009-07-28 at 18:40 +0800, aXqd wrote:
On Tue, Jul 28, 2009 at 6:36 PM, Roger Oberholtzer<roger@opq.se> wrote:
I think (not 100% positive) it is:
# Required-Start: $all
Then the script is put last. Look at the insserv man page. This is described just before the options. Probably similar for Stop.
If there is a specific script you want to follow, find out what it has for "Provides:", and put that in your "Required-Start:" list.
Yes, but if I take this way, the shutdown/reboot process sequence is not satisfied.
According to http://man-wiki.net/index.php/8:insserv, It reads: 'Required-Stop, Should-Stop, and Default-Stop are ignored in SuSE Linux, because the SuSE boot script concept uses a differential link scheme'. Is that true?
Probably. But I think it is effected by the Start sequence. If you add a script with "# Required-Start: $all", (1) does it get put at the end of all run level start scripts, and (2) where is it in the stop sequence? A dummy script that does nothing can't hurt playing with. I am not sure about making links outside the ones insserv does. I seem to recall I did this and my script did not get treated as I wanted. insserv does not look at existing links. It only looks at the directives in the files in /etc/init.d. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 8-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org