summaryrefslogtreecommitdiff
path: root/net-wireless/intel-wimax-network-service/files/wimax
blob: 201c43a54ef08d00a070200f7a358a74189786d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 $?
}