diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /package/network/config/firewall3/files/.svn/text-base/firewall.init.svn-base | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'package/network/config/firewall3/files/.svn/text-base/firewall.init.svn-base')
-rw-r--r-- | package/network/config/firewall3/files/.svn/text-base/firewall.init.svn-base | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/network/config/firewall3/files/.svn/text-base/firewall.init.svn-base b/package/network/config/firewall3/files/.svn/text-base/firewall.init.svn-base new file mode 100644 index 0000000..64e3a8c --- /dev/null +++ b/package/network/config/firewall3/files/.svn/text-base/firewall.init.svn-base @@ -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 +} |