View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Jan 31, 2010 6:47 pm Post subject: |
|
|
This could work: Code: | depend() {
after *
} |
but might conflict with /etc/init.d/local - not sure.
Maybe start it from local.
Last edited by Mike Hunt on Sun Jan 31, 2010 6:51 pm; edited 1 time in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Sun Jan 31, 2010 6:49 pm Post subject: |
|
|
Ideally, you would figure out what services it needs started before it so it can start successfully, and add them to "after" within depend(), but if that doesn't seem feasible just try with; Code: | depend()
{
before local
} | It's been a while, but I'm pretty sure that did the trick before. _________________ "You have to invite me in" |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Jan 31, 2010 6:53 pm Post subject: |
|
|
I think that before local can cause it to start any time in no particular order - not sure.
Once when I did one of those I put it after xdm which starts quite late. |
|
Back to top |
|
|
tgR10 Apprentice
Joined: 23 Oct 2007 Posts: 262 Location: caly ten ambaras
|
Posted: Sun Jan 31, 2010 7:30 pm Post subject: |
|
|
you can do something like this
Quote: |
depend()
{
after hald
before local
need xdm
} |
etc ..
or like in /etc/init.d/local
Quote: | depend()
{
after *
}
|
_________________ "bo kto ma racje ? ten kto z bliska zobaczy"
"moge nie wiedziec,wchlaniam niewiedze z malych torebek"
http://i12.tinypic.com/4pow0mu.png
http://userbar.tgr.debil.eu/userbar.jpg |
|
Back to top |
|
|
|