On Tue, 2009-07-28 at 17:01 +0800, aXqd wrote:
On Tue, Jul 28, 2009 at 4:54 PM, Per Jessen
wrote: Yeah - I don't think the openSUSE sysinit supports a straight numbering/priority scheme. (I could be wrong, I've never tried it). I think you'll need to add your script with the correct dependencies, then insert it into the sequence with insserv.
Just as I said before, I am not quite familiar with insserv and those dependency directives. I am still struggling to find a way to indicate the right dependencies to put that script the end of startup process, but also the end of halt/reboot process. IMHO, by default, these two are just reversed.
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. -- 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