diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-04-19 16:34:58 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2007-04-19 16:34:58 +0000 |
commit | 21dc1ec824f6b7e0ff8fd34664fb518a7d7e87b4 (patch) | |
tree | 5d4b3e1e449afebc00191a772db5342d28d18943 /sys-apps/hal/files | |
parent | Remove broken support for jrtplib (will be fixed "soon"(tm)) (diff) | |
download | gentoo-2-21dc1ec824f6b7e0ff8fd34664fb518a7d7e87b4.tar.gz gentoo-2-21dc1ec824f6b7e0ff8fd34664fb518a7d7e87b4.tar.bz2 gentoo-2-21dc1ec824f6b7e0ff8fd34664fb518a7d7e87b4.zip |
init script tweak to require /dev/root
(Portage version: 2.1.2.4)
Diffstat (limited to 'sys-apps/hal/files')
-rw-r--r-- | sys-apps/hal/files/0.5.9-hald.rc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-apps/hal/files/0.5.9-hald.rc b/sys-apps/hal/files/0.5.9-hald.rc index 8da96f15da42..4f4dac10b1bb 100644 --- a/sys-apps/hal/files/0.5.9-hald.rc +++ b/sys-apps/hal/files/0.5.9-hald.rc @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/files/0.5.9-hald.rc,v 1.4 2007/04/17 16:26:30 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/files/0.5.9-hald.rc,v 1.5 2007/04/19 16:34:58 cardoe Exp $ depend() { need dbus @@ -13,6 +13,12 @@ start() { [ -z "${HALD_VERBOSE}" ] && HALD_VERBOSE="no" ebegin "Starting Hardware Abstraction Layer daemon" + if [ ! -e /dev/root ]; then + echo "You need a /dev/root that points to your device that contains /" + echo "See http://bugs.gentoo.org/show_bug.cgi?id=175243" + eend 2 + fi + if [ -f /proc/acpi/event ]; then chgrp haldaemon /proc/acpi/event chmod 440 /proc/acpi/event |