add chillispot
[openwrt.git] / package / chillispot / ipkg / etc / init.d / S60chilli
1 #!/bin/sh
2 case $1 in
3 start)
4 /sbin/insmod tun >/dev/null 2>&1
5 [ -d /var/run ] || mkdir -p /var/run
6 /usr/sbin/chilli
7 ;;
8 stop)
9 [ -f /var/run/chilli.pid ] && kill $(cat /var/run/chilli.pid) >/dev/null 2>&1
10 ;;
11 *)
12 echo "usage: $0 (start|stop)"
13 exit 1
14 esac
15
16 exit $?
This page took 0.053716 seconds and 5 git commands to generate.