summaryrefslogtreecommitdiff
path: root/net-wireless/intel-wimax-network-service/files
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
commit7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch)
tree1684924656132935256e034f35f92abee6623265 /net-wireless/intel-wimax-network-service/files
Added ebuilds for kogaion desktop
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 $?
+}