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