79adecf11f
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
21 lines
321 B
Bash
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
|
|
}
|