summaryrefslogtreecommitdiff
path: root/hal/rc.hald
blob: 43629ddd1ce3ad2fa7398fdc376efd7b25c4c96f (plain)
    1 #!/bin/sh
    2 #
    3 # /etc/rc.d/hald: start/stop HAL daemon
    4 #
    5 
    6 case $1 in
    7 	start)
    8 		/usr/sbin/hald --daemon=yes --use-syslog
    9 		;;
   10 	stop)
   11 		killall -q /usr/sbin/hald
   12 		;;
   13 	restart)
   14 		$0 stop
   15 		sleep 2
   16 		$0 start
   17 		;;
   18 	*)
   19 		echo "Usage: $0 [start|stop|restart]"
   20 		;;
   21 esac
   22 
   23 # End of file

Generated by cgit