3 # haldaemon: HAL daemon
6 # description: This is a daemon for collecting and maintaing information \
7 # about hardware from several sources. \
8 # See http://www.freedesktop.org/Software/hal
11 # pidfile: /var/run/haldaemon.pid
15 [ -x /usr
/sbin
/hald
] ||
exit 0
20 echo -n "Starting HAL daemon: "
24 [ $RETVAL -eq 0 ] && touch /var
/lock
/subsys
/haldaemon
28 echo -n "Stopping HAL daemon: "
33 if [ $RETVAL -eq 0 ]; then
34 rm -f /var
/lock
/subsys
/haldaemon
35 rm -f /var
/run
/haldaemon.pid
39 # See how we were called.
53 echo $
"Usage: $0 {start|stop|restart}"