/recipes/openpli/pli-files/gsub.sh
https://bitbucket.org/lokkju/openpli-oe · Shell · 21 lines · 14 code · 4 blank · 3 comment · 1 complexity · e59d5a51612207e476c34624decd7509 MD5 · raw file
- #!/bin/sh
- #
- # start/stop gsub
- if ! [ -x /usr/bin/gSUB ]; then
- exit 0
- fi
- case "$1" in
- start)
- start-stop-daemon -S -b -x /usr/bin/gSUB
- ;;
- stop)
- start-stop-daemon -K -x /usr/bin/gSUB
- ;;
- *)
- ;;
- esac
- exit 0