mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 05:20:37 +02:00
097635b79b
- sstrip cleanup from mjn3 - various patches from nico and others: http://openwrt.org/forum/viewtopic.php?t=368 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@145 3c298f89-4303-0410-b956-a3cf2f4a3e73
18 lines
273 B
Bash
18 lines
273 B
Bash
#!/bin/sh
|
|
|
|
case $1 in
|
|
start)
|
|
insmod tun >/dev/null 2>&1
|
|
[ -d /var/run ] || mkdir -p /var/run
|
|
/usr/sbin/chilli
|
|
;;
|
|
stop)
|
|
[ -f /var/run/chilli.pid ] && kill $(cat /var/run/chilli.pid) >/dev/null 2>&1
|
|
;;
|
|
*)
|
|
echo "usage: $0 (start|stop)"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|