Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc/init.d script
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ps2cho
Apprentice
Apprentice


Joined: 27 Jun 2005
Posts: 196

PostPosted: Wed Aug 31, 2005 4:02 am    Post subject: etc/init.d script Reply with quote

Hey guys...i got a problem with my init.d script.

Now i want to have it start by default, but i want it to start on boot as the very LAST thing.
Because when i just do:

rc-update add hlds_1 default

it does it before everyting else is complete and so i cant ever login cos it never does the ssh or anything else.

Is there anyway that i can say like....hlds start last ?

Thanks, ps2cho
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Wed Aug 31, 2005 4:32 am    Post subject: Reply with quote

Code:
depend() {
        after *
}

Or make use of the existing /etc/conf.d/local.start
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
ps2cho
Apprentice
Apprentice


Joined: 27 Jun 2005
Posts: 196

PostPosted: Wed Aug 31, 2005 4:59 am    Post subject: Reply with quote

perfect :) thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum