packages/ipv6/shorewall6-lite/files/shorewall-lite.init
nbd c311bf8c4a Add shorewall6-lite
Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 02:09:15 +00:00

21 lines
329 B
Bash

#!/bin/sh /etc/rc.common
START=46
start() {
touch /var/log/messages
mkdir -p /var/lock/subsys
/sbin/shorewall6-lite -qq start -f
}
stop() {
/sbin/shorewall6-lite -qq stop
}
restart() {
if [ -f /etc/shorewall6-lite/state/restore ] ; then
/sbin/shorewall6-lite -qq restore
else
/sbin/shorewall6-lite -qq restart
fi
}