X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/99963c05ac1a872b97305a64cc8e48eee1e21fb9..d7bc5fe65d556f4174757e657b3c7614289f7186:/debian/invirt-web-iptables.init diff --git a/debian/invirt-web-iptables.init b/debian/invirt-web-iptables.init index ce7524e..9c107ee 100755 --- a/debian/invirt-web-iptables.init +++ b/debian/invirt-web-iptables.init @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/sh ### BEGIN INIT INFO # Provides: invirt-web-iptables # Required-Start: $local_fs $remote_fs @@ -23,6 +23,7 @@ dpkg -s "$NAME" >/dev/null 2>/dev/null || exit 0 do_start() { gen_files + echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/iptables-restore < $RULES }