summaryrefslogtreecommitdiffstats
path: root/gentoo/sys-apps/hal/files/0.5.14-hald.rc.1
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo/sys-apps/hal/files/0.5.14-hald.rc.1')
m---------gentoo0
-rw-r--r--gentoo/sys-apps/hal/files/0.5.14-hald.rc.139
2 files changed, 0 insertions, 39 deletions
diff --git a/gentoo b/gentoo
new file mode 160000
+Subproject 644110a847c5911c2eb04eb53c93031740561ef
diff --git a/gentoo/sys-apps/hal/files/0.5.14-hald.rc.1 b/gentoo/sys-apps/hal/files/0.5.14-hald.rc.1
deleted file mode 100644
index 2bd99fed9..000000000
--- a/gentoo/sys-apps/hal/files/0.5.14-hald.rc.1
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/files/Attic/0.5.14-hald.rc.1,v 1.2 2011/09/18 09:08:28 ssuominen dead $
-
-depend() {
- use logger acpid
- need dbus
- after coldplug dns nscd
-}
-
-start() {
- [ -z "${HALD_VERBOSE}" ] && HALD_VERBOSE="no"
- ebegin "Starting Hardware Abstraction Layer daemon"
-
-# REAL_ROOT=`mount -fv / | cut -d' ' -f1`
-# TEST_ROOT=`cat /proc/mounts | cut -d' ' -f1 | head -n 2 | tail -n 1`
-
-# if [ ! -e ${TEST_ROOT} ]; then
-# echo "You need a ${TEST_ROOT} that points to your ${REAL_ROOT}"
-# echo "See http://bugs.gentoo.org/show_bug.cgi?id=175243"
-# echo "Quick fix is: ln -s ${REAL_ROOT} ${TEST_ROOT}"
-# eend 2
-# fi
-
- if [ -f /proc/acpi/event ]; then
- chgrp haldaemon /proc/acpi/event
- chmod 440 /proc/acpi/event
- fi
-
- start-stop-daemon --start -q --exec /usr/sbin/hald -- --use-syslog --verbose=${HALD_VERBOSE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Hardware Abstraction Layer daemon"
- start-stop-daemon --stop -q --pidfile /var/run/hald.pid
- eend $?
-}