opt/hal/rc.hald

24 lines
277 B
Bash

#!/bin/sh
#
# /etc/rc.d/hald: start/stop HAL daemon
#
case $1 in
start)
/usr/sbin/hald --daemon=yes --use-syslog
;;
stop)
killall -q /usr/sbin/hald
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "Usage: $0 [start|stop|restart]"
;;
esac
# End of file