[orion]: versioned files and dirs still make no sense when you support only a single...
[openwrt.git] / package / network / config / firewall / files / firewall.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2008-2010 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 start() {
14         fw start
15 }
16
17 stop() {
18         fw stop
19 }
20
21 restart() {
22         fw restart
23 }
24
25 reload() {
26         fw reload
27 }