PageRenderTime 56ms CodeModel.GetById 33ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): BSD-3-Clause, GPL-2.0, GPL-3.0, LGPL-2.0, LGPL-2.1, LGPL-3.0
  1. #!/bin/sh
  2. #
  3. # start/stop gsub
  4. if ! [ -x /usr/bin/gSUB ]; then
  5. exit 0
  6. fi
  7. case "$1" in
  8. start)
  9. start-stop-daemon -S -b -x /usr/bin/gSUB
  10. ;;
  11. stop)
  12. start-stop-daemon -K -x /usr/bin/gSUB
  13. ;;
  14. *)
  15. ;;
  16. esac
  17. exit 0