Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"Autostarting" stuff (not rc-update)?
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
Jarjar
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 265
Location: Sweden

PostPosted: Thu Jul 25, 2002 1:29 am    Post subject: "Autostarting" stuff (not rc-update)? Reply with quote

Yeah, how do I?
I wanna make gShield (firewallscript) to autoload when I reboot (which won't happen too often, my RH had a uptime of 240 days before the comp broke).
I'm not a newbie generally, but since I _never_ rebooting that machine... :D
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20054

PostPosted: Thu Jul 25, 2002 1:42 am    Post subject: Reply with quote

What is wrong with rc-update?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
echeslack
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 131
Location: NJ, USA

PostPosted: Thu Jul 25, 2002 1:45 am    Post subject: Reply with quote

just put the command in your /etc/conf.d/local.start

-ewen
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Thu Jul 25, 2002 1:46 am    Post subject: Reply with quote

You can put stuff in /etc/conf.d/local.start to start local services that don't have a script in init.d and /etc/conf.d/local.stop to stop them.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 25, 2002 2:50 am    Post subject: Reply with quote

Correct, the local.st* scripts are the way to go. However... why not use rc-update? It really is your friend.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
Jarjar
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 265
Location: Sweden

PostPosted: Thu Jul 25, 2002 4:38 am    Post subject: Reply with quote

Umm, I promise to use rc-update if you learn me how to. :D
I don't have a /etc/init.d/gShield(.rc). I guess I have to create one then, but how?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Thu Jul 25, 2002 5:02 am    Post subject: Reply with quote

Jarjar wrote:
I don't have a /etc/init.d/gShield(.rc). I guess I have to create one then, but how?


Look at some of the other scripts in /etc/init.d/ -- it's rather straightforward. Also, man start-stop-daemon, as it's also your friend. ;)
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Thu Jul 25, 2002 2:16 pm    Post subject: Reply with quote

The rc-scripts guide is also excellent reading.
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