Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Startup scripts for Debian...


<quote who="Tony Green">

> On Mon, 2003-05-05 at 17:05, mkraus@xxxxxxxxxxxxxxxxxxxxxx wrote:
> > Where would one recommend to place `echo 1 >
> > /proc/sys/net/ipv4/ip_forward` under Debian (woody) startup scripts?
> 
> IMHO it's always best to create a seperate init script for each thing
> you're dealing with, so /etc/init.d/ipforward would be a good choice.
> 
> Then just symlink it into the appropriate rc?.d directory for your
> networked runlevels

While it would be better to use sysctl.conf for this situation, if you do
need to make startup scripts for some reason, use update-rc.d to change the
symlinks. :-)

- Jeff

-- 
GU4DEC: June 16th-18th in Dublin, Ireland             http://www.guadec.org/
 
   "You gotta know when to hold 'em, know when to fold 'em, know when to
       walk away, and know when to run." - Kenny Rogers, The Gambler