diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /net-wireless/intel-wimax-network-service/files |
Added ebuilds for kogaion desktop
Diffstat (limited to 'net-wireless/intel-wimax-network-service/files')
-rwxr-xr-x | net-wireless/intel-wimax-network-service/files/wimax | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-wireless/intel-wimax-network-service/files/wimax b/net-wireless/intel-wimax-network-service/files/wimax new file mode 100755 index 00000000..201c43a5 --- /dev/null +++ b/net-wireless/intel-wimax-network-service/files/wimax @@ -0,0 +1,21 @@ +#!/sbin/runscript + +description="WiMAX Network Service" + +depend() { + need localmount + after bootmisc +} + +start() { + ebegin "Starting WiMAX Network Service" + [ -e /var/run/wimaxd.pid ] && rm -f /var/run/wimaxd.pid + start-stop-daemon --start --quiet --pidfile /var/run/wimax.pid --exec /usr/bin/wimaxd + eend $? +} + +stop() { + ebegin "Stoping WiMAX Network Service" + start-stop-daemon --stop --quiet --pidfile /var/run/wimax.pid + eend $? +} |