[BRLTTY] A bug in revision 3008-09 of version 3.8dev?
Hermann
steppenwolf2 at onlinehome.de
Mon Apr 30 11:33:08 EDT 2007
The script is attached.
Hermann
-------------- next part --------------
#! /bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/bin/brltty
NAME=brltty
DESC='Braille terminal driver'
PIDFILE=/var/run/$NAME.pid
test -f $DAEMON || exit 0
set -e
case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --oknodo \
--pidfile $PIDFILE --startas $DAEMON -- -P $PIDFILE
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --oknodo --retry 5 --pidfile $PIDFILE
echo "$NAME."
;;
restart|force-reload)
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --retry 5 --pidfile $PIDFILE
start-stop-daemon --start --quiet \
--pidfile $PIDFILE --startas $DAEMON -- -P $PIDFILE
echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
More information about the BRLTTY
mailing list