aXqd wrote:
On Tue, Jul 28, 2009 at 6:47 PM, Per Jessen
wrote: On Tue, Jul 28, 2009 at 6:30 PM, jdd (kim2)
wrote: I always have changed this manually (rename the file)
Sorry, it's not my call. I was told to follow the LSB.
Then you have no choice but to read up on the dependencies of the sysvinit scripts.
What would happen if I change it manually, and some time later, customers use insserv to adjust it?
As long as you've added the correct dependencies, it should work fine.
Thank you all for your reply. Let me make my question more specific. How can I use *dependency* way to start my script after xdm starts and stop it after xdm and splash-late stop?
Okay, let's have a look: /etc/init.d/xdm - contains "Provides: xdm". This gives you a hint that your script might/will need: "Required-Start: xdm". I don't have a splash_late script on my system, but to run your script late in shutdown, maybe "Required-Stop: $network" will do.
By doing this, I can fix a tedious bug.
an openSUSE bug? /Per -- Per Jessen, Zürich (20.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org