Gentoo - running scripts at startup

Roger Oberholtzer roger
Mon May 17 11:53:26 PDT 2004


When you install a script from an emerged package, use the rc-update command
to do so. It causes the computation of dependencies and makes sure the
script might complete. If you just copy a script to boot or wherever, I am
not sure that the dependencies will be calculated when the system boots.
Anyway, I use the rc-update command and have never had a problem.




On Sun, 07 Sep 2003 21:01:32 -0400
"Brett I. Holcomb" <brettholcomb at charter.net> wrote:

> The local.start and local.stop are the last and first respectively run by 
> the system when it starts up.  I found the Gentoo startup order a little 
> disconcerting, too.  I guess we'll get used to it <G>.
> 
> 
> 
> Jerry McBride wrote:
> 
> > On Sunday 07 September 2003 06:44 pm, Marianne Taylor wrote:
> >> Then howcome it was running iptables before network?  Just by renaming
> >> iptables to p-iptables I was able to get it running?
> >>
> > 
> > If you don't use the dependency mechanism, then the rc scripts are
> > executed based on alphabetical order. It really sucks too. Personally, I
> > think this porion of gentoo should be overhauled and re-written to work
> > something along the lines of good old fashioned system V startup scripts
> > as implemented in Open Linux...


-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list