diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-24 23:50:14 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-24 23:50:14 +0000 |
commit | 097635b79bc6ddd6066a8369db6e298a25daa96e (patch) | |
tree | db8218863c9124ae287832ccd846ad4d96c2e05e /obsolete-buildroot/sources/openwrt/ipkg/chillispot/root/etc | |
parent | 54da0f9e4ba892d2613d4f0d0c4bf4eecdcfd0a4 (diff) |
massive changes
- 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
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/chillispot/root/etc')
-rw-r--r-- | obsolete-buildroot/sources/openwrt/ipkg/chillispot/root/etc/init.d/chilli | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/chillispot/root/etc/init.d/chilli b/obsolete-buildroot/sources/openwrt/ipkg/chillispot/root/etc/init.d/chilli new file mode 100644 index 000000000..785784cb1 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/chillispot/root/etc/init.d/chilli @@ -0,0 +1,17 @@ +#!/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 $? |