aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files/firewall.init
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-08-11 22:27:36 +0000
committerJohn Crispin <john@openwrt.org>2008-08-11 22:27:36 +0000
commit5627667654db791fc105117c8d5717caacbaa1b9 (patch)
tree45d8346e7513ce5adcc570f6fc31e09586ffb9c9 /package/firewall/files/firewall.init
parent4b5488ebfa23f854fc087a6ae64962905683be7f (diff)
downloadupstream-5627667654db791fc105117c8d5717caacbaa1b9.tar.gz
upstream-5627667654db791fc105117c8d5717caacbaa1b9.tar.bz2
upstream-5627667654db791fc105117c8d5717caacbaa1b9.zip
uci firewall - make uci firewall default and remove old code - fix up dependencies
SVN-Revision: 12284
Diffstat (limited to 'package/firewall/files/firewall.init')
-rwxr-xr-xpackage/firewall/files/firewall.init14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/firewall/files/firewall.init b/package/firewall/files/firewall.init
new file mode 100755
index 0000000000..26855f39ad
--- /dev/null
+++ b/package/firewall/files/firewall.init
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2008 OpenWrt.org
+
+START=45
+
+start() {
+ . /lib/firewall/uci_firewall.sh
+ fw_init
+}
+
+stop() {
+ . /lib/firewall/uci_firewall.sh
+ fw_stop
+}