summaryrefslogtreecommitdiffstats
path: root/package/hal/init-hal
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-09 22:48:41 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-09 22:48:41 +0000
commit6b00c90d709a01822027fb9986ec8ace605dd991 (patch)
tree247dda891d7c16580a7d274411581c519d01c2db /package/hal/init-hal
parent448153a06a443ad61f3df88408edf3a7da98ea0c (diff)
downloadbuildroot-novena-6b00c90d709a01822027fb9986ec8ace605dd991.tar.gz
buildroot-novena-6b00c90d709a01822027fb9986ec8ace605dd991.zip
Rename all INIT scripts to have the numerical prefixes to easily see the start-up order.
Diffstat (limited to 'package/hal/init-hal')
-rwxr-xr-xpackage/hal/init-hal56
1 files changed, 0 insertions, 56 deletions
diff --git a/package/hal/init-hal b/package/hal/init-hal
deleted file mode 100755
index 40ea0f4d3..000000000
--- a/package/hal/init-hal
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# haldaemon: HAL daemon
-#
-# chkconfig: 345 98 02
-# description: This is a daemon for collecting and maintaing information \
-# about hardware from several sources. \
-# See http://www.freedesktop.org/Software/hal
-#
-# processname: hald
-# pidfile: /var/run/haldaemon.pid
-#
-
-# Sanity checks.
-[ -x /usr/sbin/hald ] || exit 0
-
-RETVAL=0
-
-start() {
- echo -n "Starting HAL daemon: "
- hald
- RETVAL=$?
- echo "done"
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/haldaemon
-}
-
-stop() {
- echo -n "Stopping HAL daemon: "
-
- killall hald
- RETVAL=$?
- echo "done"
- if [ $RETVAL -eq 0 ]; then
- rm -f /var/lock/subsys/haldaemon
- rm -f /var/run/haldaemon.pid
- fi
-}
-
-# See how we were called.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- sleep 3
- start
- ;;
- *)
- echo $"Usage: $0 {start|stop|restart}"
- ;;
-esac
-exit $RETVAL