invirt-web: depend on apache2, remctl-client, two others
[invirt/packages/invirt-web.git] / debian / invirt-web-iptables.init
index ce7524e..9c107ee 100755 (executable)
@@ -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
 }