Revision: 275
Author: krisk84
Date: 2006-08-17 11:16:56 -0700 (Thu, 17 Aug 2006)
ViewCVS: http://svn.sourceforge.net/astlinux/?rev=275&view=rev
Log Message:
-----------
acpi init script fix
Modified Paths:
--------------
trunk/package/acpid/acpid.init
Modified: trunk/package/acpid/acpid.init
===================================================================
--- trunk/package/acpid/acpid.init 2006-08-17 05:24:25 UTC (rev 274)
+++ trunk/package/acpid/acpid.init 2006-08-17 18:16:56 UTC (rev 275)
@@ -3,7 +3,7 @@
. /etc/rc.conf
start () {
-if [ -x /usr/sbin/acpid ]
+if [ -x /usr/sbin/acpid -a -r /proc/acpi/event ]
then
echo "Starting acpid..."
/usr/sbin/acpid
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|