diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:41:37 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:41:37 +0200 |
commit | 5d65d52a7227128a8524fe1c9c0cf5ba5b10c2d1 (patch) | |
tree | 7fd12c75ddb0f44b225e963d1836b326a1470c45 /net-wireless/intel-wimax-network-service/files | |
parent | 20a107748317091d1ac003f1cbb045928d07e684 (diff) |
Addeed the wi-fi modules
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 $? +} |