#!/bin/bash # Must be run as sudo cp ./firewall /etc/init.d/firewall chmod +x /etc/init.d/firewall update-rc.d firewall defaults