d04804d756cfbc9a966791d0bc022188dd6ab335
[openwrt/openwrt.git] / package / firewall / files / firewall.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008 OpenWrt.org
3
4 START=45
5
6 FW_LIBDIR=/lib/firewall
7
8 fw() {
9 . $FW_LIBDIR/core.sh
10 fw_$1
11 }
12
13 boot() { :; }
14
15 start() {
16 fw start
17 }
18
19 stop() {
20 fw stop
21 }
22
23 restart() {
24 fw restart
25 }
26
27 reload() {
28 fw reload
29 }