Add shorewall6-lite
[openwrt/svn-archive/archive.git] / ipv6 / shorewall6-lite / files / shorewall-lite.init
1 #!/bin/sh /etc/rc.common
2
3 START=46
4 start() {
5 touch /var/log/messages
6 mkdir -p /var/lock/subsys
7 /sbin/shorewall6-lite -qq start -f
8 }
9
10 stop() {
11 /sbin/shorewall6-lite -qq stop
12 }
13
14 restart() {
15 if [ -f /etc/shorewall6-lite/state/restore ] ; then
16 /sbin/shorewall6-lite -qq restore
17 else
18 /sbin/shorewall6-lite -qq restart
19 fi
20 }