public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/hal/files: 0.5.14-hald.rc.1
@ 2010-09-28  6:20 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2010-09-28  6:20 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/09/28 06:20:47

  Added:                0.5.14-hald.rc.1
  Log:
  Remove now unnecessary workaround for PATH and 512 bytes limit in init script wrt #267928.
  
  (Portage version: 2.2_rc87/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-apps/hal/files/0.5.14-hald.rc.1

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hal/files/0.5.14-hald.rc.1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hal/files/0.5.14-hald.rc.1?rev=1.1&content-type=text/plain

Index: 0.5.14-hald.rc.1
===================================================================
#!/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/0.5.14-hald.rc.1,v 1.1 2010/09/28 06:20:47 ssuominen Exp $

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 $?
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-28  6:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28  6:20 [gentoo-commits] gentoo-x86 commit in sys-apps/hal/files: 0.5.14-hald.rc.1 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox