summaryrefslogtreecommitdiffstats
path: root/package/network/config/firewall3/files/firewall.init
blob: 64e3a8c12ba864bfd9b9f07e98687df84c41122d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh /etc/rc.common

START=19

boot() {
	# Be silent on boot, firewall might be started by hotplug already,
	# so don't complain in syslog.
	fw3 -q start
}

start() {
	fw3 start
}

stop() {
	fw3 flush
}

restart() {
	fw3 restart
}

reload() {
	fw3 reload
}