summaryrefslogtreecommitdiff
blob: b81f018ff2f1368eabe915f66b57e3a975d3e084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/runscript

depend() {
	use net
}

start() {
	ebegin "Starting up ${SERVICE}"
	/usr/bin/Wnn4/jserver &>/dev/null
	if [ $? -eq 15 ]; then
		true;
	else
		false;
	fi
	eend 0
}

stop() {
	ebegin "Stopping ${SERVICE}"
	/usr/bin/Wnn4/wnnkill &> /dev/null
	eend $? "Failed to stop ${SERVICE}"
}