From b721c9222110f0bbf2203da602f60ac0ec6f32ff Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 4 Jun 2013 12:21:52 +0000 Subject: firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA SVN-Revision: 36838 --- .../network/config/firewall/files/firewall.init | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 package/network/config/firewall/files/firewall.init (limited to 'package/network/config/firewall/files/firewall.init') diff --git a/package/network/config/firewall/files/firewall.init b/package/network/config/firewall/files/firewall.init new file mode 100755 index 0000000..64e3a8c --- /dev/null +++ b/package/network/config/firewall/files/firewall.init @@ -0,0 +1,25 @@ +#!/bin/sh /etc/rc.common + +START=19 + +boot() { + # Be silent on boot, firewall might be started by hotplug already, + # so don't complain in syslog. + fw3 -q start +} + +start() { + fw3 start +} + +stop() { + fw3 flush +} + +restart() { + fw3 restart +} + +reload() { + fw3 reload +} -- cgit v1.1