Corrected missing dependency
[openwrt.git] / package / gmediaserver / files / gmediaserver.init
1 #!/bin/sh
2
3 BIN=gmediaserver
4 DEFAULT=/etc/default/$BIN
5 RUN_D=/var/run
6 PID_F=$RUN_D/$BIN.pid
7 [ -f $DEFAULT ] && . $DEFAULT
8
9 case $1 in
10 start)
11 $BIN $OPTIONS
12 ;;
13 stop)
14 [ -f $PID_F ] && kill $(cat $PID_F)
15 ;;
16 *)
17 echo "usage: $0 (start|stop)"
18 exit 1
19 esac
20
21 exit $?
This page took 0.051848 seconds and 5 git commands to generate.