summaryrefslogtreecommitdiff
path: root/net-wireless/intel-wimax-network-service/files
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:41:37 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:41:37 +0200
commit5d65d52a7227128a8524fe1c9c0cf5ba5b10c2d1 (patch)
tree7fd12c75ddb0f44b225e963d1836b326a1470c45 /net-wireless/intel-wimax-network-service/files
parent20a107748317091d1ac003f1cbb045928d07e684 (diff)
Addeed the wi-fi modules
Diffstat (limited to 'net-wireless/intel-wimax-network-service/files')
-rwxr-xr-xnet-wireless/intel-wimax-network-service/files/wimax21
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 $?
+}