starting a script at boot time?

2000-06-10 Thread Jay Kelly
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?



Re: starting a script at boot time?

2000-06-10 Thread Bob Nielsen
man update-rc.d

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?

-- 
Bob Nielsen, N7XY  (RN2)   [EMAIL PROTECTED]
Bainbridge Island, WA  http://www.oz.net/~nielsen
 



Re: starting a script at boot time?

2000-06-10 Thread kmself
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


pgpV3F5EA5kZC.pgp
Description: PGP signature


Re: starting a script at boot time?

2000-06-10 Thread kmself
On Sat, Jun 10, 2000 at 07:51:28AM -0700, [EMAIL PROTECTED] wrote:
 Thanks
 On Sat, Jun 10, 2000 at 02:41:46PM -0700, kmself@ix.netcom.com wrote:
  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.
  

 Thanks for the help. Real quick question. I want to make fetchmailrc
 run at boot up but the file is in /home/$user. How will I make it start
 at boot up so my system will look for mail ?

rant degree=mild  
Once quoting order (new follows/leads original material) has been
established, please follow it.  Skipping forward and back in a post is
annoying at best, confusing or misleading at worst.  
/rant

@reboot in a crontab file specifies scripts to run at boottime.

fetchmail is a user-run process, it isn't generally run as root or
systemwide, and can cause problems if it is.


-- 
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


pgpIiW2KGq8VS.pgp
Description: PGP signature