filebot/installer/spk/scripts/start-stop-status

28 lines
256 B
Bash

#!/bin/sh
case "$1" in
start)
exit 0
;;
stop)
exit 0
;;
status)
if [ -x "/usr/local/bin/$SYNOPKG_PKGNAME" ] && [ -x "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" ]; then
exit 0
else
exit 1
fi
;;
log)
exit 0
;;
*)
exit 1
;;
esac