[package] firewall: rework state variable handling, use uci_toggle_state() where...
[openwrt.git] / package / 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 }
This page took 0.051701 seconds and 5 git commands to generate.