Shorewall: Add full package.

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
This commit is contained in:
W. van den Akker
2017-11-13 08:06:17 +01:00
parent 68df55029e
commit 47889003d9
7 changed files with 170 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/bin/sh /etc/rc.common
USE_PROCD=1
START=50
load_params () {
. /usr/share/shorewall/shorewallrc
}
start_service() {
load_params
${SBINDIR}/shorewall $OPTIONS start $STARTOPTIONS
}
stop_service() {
load_params
${SBINDIR}/shorewall $OPTIONS stop $STOPOPTIONS
}
restart_service() {
load_params
${SBINDIR}/shorewall $OPTIONS restart $RESTARTOPTIONS
}
reload_service() {
load_params
${SBINDIR}/shorewall $OPTIONS reload $RESTARTOPTIONS
}