diff options
Diffstat (limited to 'brltty/brltty')
-rw-r--r-- | brltty/brltty | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/brltty/brltty b/brltty/brltty new file mode 100644 index 000000000..ce2f5b6dc --- /dev/null +++ b/brltty/brltty @@ -0,0 +1,32 @@ +#!/bin/bash + +daemon_name=brltty + +. /etc/sysconfig/rc +. ${rc_functions} +. /etc/conf.d/$daemon_name.conf + +case "$1" in + start) + boot_mesg "Starting $daemon_name daemon" + loadproc /usr/bin/$daemon_name $brltty_args;; + + stop) + loadproc "Stopping $daemon_name daemon" + killproc $daemon_name;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + + status) + statusproc $daemon_name + ;; + + *) + echo "usage: $0 {start|stop|restart|status}" +esac + +exit 0 |