[ale] run at start up

James P. Kinney III jkinney at localnetsolutions.com
Tue Dec 18 20:20:39 EST 2001


Add a symlink to it for each of the runlevels you want it to start in.

Example:
You want it to run for runlevel 3 only

cd /etc/rc.d/rc3.d
ln -s /etc/init.d/ipmasq S45ipmasq

Now the "S" is required for the first letter of the symlink name. It
tells init to "S"tart it. The number is used to put things in a
reasonable order. No point in starting smb until networking is running.
Many firewall scripts are run before the networking is even started to
lock down the box in advance. Often a second is run after the
initialization to finish the routing.

I suspect since this is called "ipmasq" that it has little or no
firewalling. So it could start after the Sxxnetwork init script is run. 

Caveat: If there is a seperate firewall script (firewall, ipchains,
iptables) make sure the ipmasq script doesn't trash the firewall by
flushing all the rules first! (ipchains -F ...)

On Tue, 2001-12-18 at 19:14, scottb at pixel-group.com wrote:
> i need to get /ect/rc.d/init.d/ipmasq
> to run at startup and help 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
-- 
James P. Kinney III   \Changing the mobile computing world/
President and COO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 



 This is a digitally signed message part




More information about the Ale mailing list