summaryrefslogtreecommitdiff
path: root/package/iptables/ipkg/iptables.postinst
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/iptables/ipkg/iptables.postinst
Initial import
Diffstat (limited to 'package/iptables/ipkg/iptables.postinst')
-rw-r--r--package/iptables/ipkg/iptables.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/iptables/ipkg/iptables.postinst b/package/iptables/ipkg/iptables.postinst
new file mode 100644
index 000000000..fd2865a31
--- /dev/null
+++ b/package/iptables/ipkg/iptables.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+
+if [ -f $IPKG_INSTROOT/etc/init.d/S45firewall ]; then
+ add_rcconf iptables firewall NO
+fi
+