4 DESC
="VideoCore file server daemon $NAME"
5 DAEMON
="/usr/sbin/$NAME"
7 CFGFILE
="/etc/default/$NAME"
8 PIDFILE
="/var/run/$NAME.pid"
10 # Read configuration variable file if it is present
11 [ -r "$CFGFILE" ] && .
"$CFGFILE"
15 printf "Starting $DESC: "
16 start-stop-daemon
-S -q -p "$PIDFILE" -x "$DAEMON" -- $DAEMON_ARGS &&
17 echo "done" ||
echo "failed"
22 printf "Stopping $DESC: "
23 if start-stop-daemon
-K -q -R TERM
/30/KILL
/5 -p "$PIDFILE" -n "$NAME"; then
24 # This daemon does not remove its PID file when it exits.
44 echo "Usage: $0 {start|stop|restart|reload}" >&2