packages: sort network related packages into package/network/
[openwrt/svn-archive/archive.git] / 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 (executable)
index 0000000..a2fd0a0
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2008-2010 OpenWrt.org
+
+START=45
+
+FW_LIBDIR=/lib/firewall
+
+fw() {
+       . $FW_LIBDIR/core.sh
+       fw_$1
+}
+
+start() {
+       fw start
+}
+
+stop() {
+       fw stop
+}
+
+restart() {
+       fw restart
+}
+
+reload() {
+       fw reload
+}