packages/net/shorewall-lite/files/shorewall-lite.init
jow 79adecf11f shorewall-lite: update to 4.4.27.3
This patch updates shorewall-lite to stable release 4.4.27.3 and the lsm_script

Signed-off-by: Edy Corak info@loenshotel.de

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:49:27 +00:00

21 lines
321 B
Bash

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