aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files/firewall.init
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-08-11 22:27:36 +0000
committerJohn Crispin <blogic@openwrt.org>2008-08-11 22:27:36 +0000
commit4b924f0d7b32978e5161a716acc032ad68007e72 (patch)
treec66c8d821b4c251a41ef47fdd7f5237766662b57 /package/firewall/files/firewall.init
parentecc88154322e2996c0e6f9734b8224c94d5b070a (diff)
downloadmaster-187ad058-4b924f0d7b32978e5161a716acc032ad68007e72.tar.gz
master-187ad058-4b924f0d7b32978e5161a716acc032ad68007e72.tar.bz2
master-187ad058-4b924f0d7b32978e5161a716acc032ad68007e72.zip
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 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
+}