projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add chillispot
[openwrt-10.03/.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 $?