Re: One Line on Startup

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

 



Mike -- EMAIL IGNORED wrote:
I have heard that because I am using forwarding in
iptables, it is necessary to do:
   echo 1 > /proc/sys/net/ipv4/ip_forward
on startup. I have a vague memory that there is
a good place to put such commands, rather than
writing a startup script just for this line.
Any suggestions?
Mike,

I think you're looking for "/etc/rc.local".  It's commented as follows:

 # This script will be executed *after* all the other init scripts.
 # You can put your own initialization stuff in here if you don't
 # want to do the full Sys V style init stuff.

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux