summaryrefslogtreecommitdiffstats
path: root/package/firewall/files/firewall.init
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-11 22:27:36 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-11 22:27:36 +0000
commitaa954c1c5dd50c89f91ac2574482ab7c927a3c54 (patch)
treec66c8d821b4c251a41ef47fdd7f5237766662b57 /package/firewall/files/firewall.init
parent17d1b91a9611b9278c926e82c9be938ade02d095 (diff)
uci firewall
- make uci firewall default and remove old code - fix up dependencies git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12284 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..26855f39a
--- /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
+}