diff options
author | hschang <chang@dev3> | 2015-08-04 09:52:26 (GMT) |
---|---|---|
committer | hschang <chang@dev3> | 2015-08-04 09:54:28 (GMT) |
commit | d4a76ad26293e2d805bb35734c311f6153ae712e (patch) | |
tree | eefd73b2d567fabdede567d60bd04d793cafa656 /meta-openvuplus/recipes-vuplus/satipclient/satipclient | |
parent | ff65c342e6a897993ee815470a41a5c384753281 (diff) |
Add satipclient.
Diffstat (limited to 'meta-openvuplus/recipes-vuplus/satipclient/satipclient')
-rw-r--r-- | meta-openvuplus/recipes-vuplus/satipclient/satipclient/satipclient.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-openvuplus/recipes-vuplus/satipclient/satipclient/satipclient.sh b/meta-openvuplus/recipes-vuplus/satipclient/satipclient/satipclient.sh new file mode 100644 index 0000000..42cf39b --- /dev/null +++ b/meta-openvuplus/recipes-vuplus/satipclient/satipclient/satipclient.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +if ! [ -x /usr/bin/satipclient ]; then + exit 0 +fi + +case "$1" in + start) + start-stop-daemon -S -b -x /usr/bin/satipclient + ;; + stop) + start-stop-daemon -K -x /usr/bin/satipclient + ;; + restart|reload) + $0 stop + $0 start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac + +exit 0 |