sfreilly at roadrunner.com
Sat Apr 25 11:45:24 UTC 2009
Daniel Dalton wrote:
> I have a firewall called fw-start.sh, it is just a shell script
> containing many iptables lines. I use a line like this in my interfaces
> post-up /sbin/fw-start.sh
> Which works fine on debian, but how can I do the equivilent on ubuntu? I
> would like to start the firewall eg. invoke this shell script once
> the specified interface is up eg. wlan0, eth0 etc. I'm using
> network-manager to control my connectivity.
> Any help is greatly appreciated.
put the executable in /etc/init.d then if i remember correctly
update-rc.d nameoffile defaults you may want to have a look at this
its been a long time since ive messed with it, you have to symlink to
another directory so it will start in the correct runtime, that should
More information about the ubuntu-users