summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts1
-rw-r--r--src.etc/init.d/iptables10
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts b/scripts
index b1720f9..d6527d6 100644
--- a/scripts
+++ b/scripts
@@ -12,3 +12,4 @@ TELNETD telnetd disabled
- boottime enabled
- rc.local enabled
- sysctl enabled
+- iptables enabled
diff --git a/src.etc/init.d/iptables b/src.etc/init.d/iptables
new file mode 100644
index 0000000..b161fef
--- /dev/null
+++ b/src.etc/init.d/iptables
@@ -0,0 +1,10 @@
+#!/bin/sh /etc/rc.common
+
+START='25'
+
+start()
+{
+ [ -r /etc/iptables ] || return 0
+ log 'Loading iptables rules'
+ sh /etc/iptables
+}