Add satipclient.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-vuplus / satipclient / satipclient / satipclient.sh
1 #!/bin/sh
2
3 if ! [ -x /usr/bin/satipclient ]; then
4         exit 0
5 fi
6
7 case "$1" in
8         start)
9                 start-stop-daemon -S -b -x /usr/bin/satipclient
10                 ;;
11         stop)
12                 start-stop-daemon -K -x /usr/bin/satipclient
13                 ;;
14         restart|reload)
15                 $0 stop
16                 $0 start
17                 ;;
18         *)
19                 echo "Usage: $0 {start|stop|restart}"
20                 exit 1
21                 ;;
22 esac
23
24 exit 0