64e3a8c12ba864bfd9b9f07e98687df84c41122d
[openwrt.git] / package / network / config / firewall3 / files / firewall.init
1 #!/bin/sh /etc/rc.common
2
3 START=19
4
5 boot() {
6         # Be silent on boot, firewall might be started by hotplug already,
7         # so don't complain in syslog.
8         fw3 -q start
9 }
10
11 start() {
12         fw3 start
13 }
14
15 stop() {
16         fw3 flush
17 }
18
19 restart() {
20         fw3 restart
21 }
22
23 reload() {
24         fw3 reload
25 }