summaryrefslogtreecommitdiff
blob: 40e32a9d8de0d66666ee829b4b30b971863c06bd (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
26
27
#!/sbin/openrc-run
command=/usr/sbin/arno-iptables-firewall
description="Single- & multi-homed firewall script with DSL/ADSL support"

extra_started_commands="reload"
description_reload="Reload blocked hosts (blackhole) file"

depend() {
  before net
  use logger
}

start() {
  ${command} start
}

stop() {
  ${command} stop
}

restart() {
  ${command} restart
}

reload() {
  ${command} force-reload
}