diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2010-07-25 14:18:17 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2010-07-25 14:18:17 +0000 |
commit | 3ceec380d539a393460aba67fef0d4b42cbf423d (patch) | |
tree | 09c33b255a9de726e8301cc52c675c51c7c30224 /net-wireless/wimax/files | |
parent | Stable on alpha, bug #322193 (diff) | |
download | gentoo-2-3ceec380d539a393460aba67fef0d4b42cbf423d.tar.gz gentoo-2-3ceec380d539a393460aba67fef0d4b42cbf423d.tar.bz2 gentoo-2-3ceec380d539a393460aba67fef0d4b42cbf423d.zip |
[net-wireless/wimax] Initial import of wimax network service. Currently it isnt working on 64bit systems.
(Portage version: 2.2_rc67_p258/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/wimax/files')
-rw-r--r-- | net-wireless/wimax/files/wimax | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-wireless/wimax/files/wimax b/net-wireless/wimax/files/wimax new file mode 100644 index 000000000000..6d240e12e717 --- /dev/null +++ b/net-wireless/wimax/files/wimax @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/files/wimax,v 1.1 2010/07/25 14:18:17 alexxy Exp $ + +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 $? +} |