Re: rc.local -> What is the Debian Eqivalent
On 09 Mar 1999q, George Bonser wrote:
> On Tue, 9 Mar 1999, ragOO wrote:
>
> > Person, Roderick wrote:
> >
> > > I have installed some tars and I need to set some thing to run at boot.
> > >
> >
> > The Debian equivalent of rc.local is rc.boot
>
> I really do not think so. rc.local runs LAST after everything is set up.
> rc.boot runs FIRST before ANYTHING is set up. I use /sbin/setup.sh If
> you look at the startup scripts, the last thing the system at boot is to
> look for the existance of /sbin/setup.sh and if it finds it, it runs it.
> In most systems, that file is not there so never gets run.
>
This was well answered here about 3 weeks ago; see the archive files. You
should make a file called /etc/init.d/local with the commands you want to
run at bootup and then link this by running "update-rc.d local defaults 80"
to make sure it is run. I've done this and it works fine.
Anthony
--
Anthony Campbell - running Linux Debian 2.0 (Windows-free zone)
Book Reviews: www.achc.demon.co.uk/bookreviews/bookreviews.html
"The Moving Finger writes; and, having writ,
Moves on..." - Edward Fitzgerald (Rubaiat of Omar Khayyam)
Reply to: