diff options
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/chillispot')
3 files changed, 27 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/chillispot/CONTROL/conffiles b/obsolete-buildroot/sources/openwrt/ipkg/chillispot/CONTROL/conffiles new file mode 100644 index 000000000..08485167d --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/chillispot/CONTROL/conffiles @@ -0,0 +1 @@ +/etc/chilli.conf diff --git a/obsolete-buildroot/sources/openwrt/ipkg/chillispot/CONTROL/control b/obsolete-buildroot/sources/openwrt/ipkg/chillispot/CONTROL/control new file mode 100644 index 000000000..645ddbf51 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/chillispot/CONTROL/control @@ -0,0 +1,9 @@ +Package: chillispot +Priority: optional +Section: net +Version: TBDL +Architecture: TBDL +Maintainer: Nico <nthill@free.fr> +Source: http://openwrt.org/cgi-bin/viewcvs.cgi/buildroot/ +Description: a wireless access point controller +Depends: tun-module 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 $? |