LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: slackware (was: Esat ADSL)

[ILUG] Re: slackware (was: Esat ADSL)

John P. Looney valen at tuatha.org
Tue Dec 17 09:49:03 GMT 2002


On Mon, Dec 16, 2002 at 03:29:31PM -0800, Rick Moen mentioned:
> But if you want such a half-assed rc.local _anyway_ (and some days, I
> do), it suffices to do:
> 
> # cd /etc/init.d
> # $EDITOR_OF_CHOICE rc.local
> # chmod 774 rc.local
> # ln -s /etc/init.d/rc.local /etc/rc2.d/S99local 
> 
> And you're done.

 Problem with that (and I'd a bug filed in RedHat 6.1 or something against
it) was that rc.local gets run if you do:

 init 6 (runs rc.local on reboot)
 init s
 init 2 (runs it again)
 init s
 init 2 (runs it again)

 etc. you get it run many times, with is not the semantics of an rc.local.
And it's still a pain. Which is why that simple crontab @reboot is a
better solution.

john




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell