[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting a script at boot time?



On Sat, Jun 10, 2000 at 10:37:56AM -0700, Bob Nielsen wrote:
> On Sat, Jun 10, 2000 at 09:54:06AM -0700, Jay Kelly wrote:
> > Good Morning Group,
> > I want to have a firewall script I made to start automatically after
> > booting. The file has permission 755 and is in my /etc/init.d folder. What
> > will I need to do to make this script start and run at bootup?

> man update-rc.d

To amplify slightly:

  - /etc/init.d is where startup scripts "live".

  - The rc?.d directories are where specific init levels find their
    kill and start scripts, which are linked to a script in /etc/init.d
    Eg:  
        /etc/rc0.d
        /etc/rc1.d
        /etc/rc2.d
        /etc/rc3.d
        /etc/rc4.d
        /etc/rc5.d
        /etc/rc6.d
        /etc/rcS.d

update-rc.d is one mechanism for updating rc files.




-- 
Karsten M. Self <kmself@ix.netcom.com>         http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.                       http://www.opensales.org
   What part of "Gestalt" don't you understand?      Debian GNU/Linux rocks!
     http://gestalt-system.sourceforge.net/      K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0

Attachment: pgphzYqE8esJN.pgp
Description: PGP signature


Reply to: