2008-02-02 18:12:21 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
|
|
|
|
START=46
|
|
|
|
start() {
|
|
|
|
touch /var/log/messages
|
|
|
|
mkdir -p /var/lock/subsys
|
2012-06-18 23:49:27 +00:00
|
|
|
/sbin/shorewall-lite -qq start
|
2008-02-02 18:12:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
|
|
|
/sbin/shorewall-lite -qq stop
|
|
|
|
}
|
|
|
|
|
|
|
|
restart() {
|
2009-12-11 02:09:19 +00:00
|
|
|
if [ -f /etc/shorewall-lite/state/restore ] ; then
|
|
|
|
/sbin/shorewall-lite -qq restore
|
|
|
|
else
|
|
|
|
/sbin/shorewall-lite -qq restart
|
|
|
|
fi
|
2008-02-02 18:12:21 +00:00
|
|
|
}
|