diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-06 10:51:35 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-06 10:51:35 (EDT) |
commit | 0e281d0103a636d27bd99b952f873d5b37cdebfe (patch) | |
tree | cd127b04e887d7026437d7e21ce3e0c176aea0e7 | |
parent | 5419c6f5465c0284412eb9867c729b3a653f8746 (diff) |
Add iptables service script
-rw-r--r-- | scripts | 1 | ||||
-rw-r--r-- | src.etc/init.d/iptables | 10 |
2 files changed, 11 insertions, 0 deletions
@@ -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 +} |