You can stick the command into /etc/network/interfaces (man 5 interfaces to read the manpage)
#Example interfaces file will run firewall.sh after eth0 is brought up auto eth0 iface eth0 inet dhcp up /root/firewall.sh On Thu, 24 Oct 2002, Dean Fujioka wrote: > I am looking for a place to put MonMotha's firewall script to start > automatically at boot. In RedHat, it was rc.local. in SuSE, it was > rc.boot. In Debian , I can't find a similar startup script. Is there a > Debian demystifier in the house?