SOURCES: pommed.init - well, it should be sufficient to check /pro...

qboosh qboosh at pld-linux.org
Thu Dec 20 19:40:42 CET 2007


Author: qboosh                       Date: Thu Dec 20 18:40:42 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- well, it should be sufficient to check /proc/acpi before start

---- Files affected:
SOURCES:
   pommed.init (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/pommed.init
diff -u SOURCES/pommed.init:1.4 SOURCES/pommed.init:1.5
--- SOURCES/pommed.init:1.4	Thu Dec 20 19:39:06 2007
+++ SOURCES/pommed.init	Thu Dec 20 19:40:36 2007
@@ -11,10 +11,9 @@
 # Source function library
 . /etc/rc.d/init.d/functions
 
-# We can't run without acpi:
-[ -e /proc/acpi ] || exit 1
-
 start() {
+	# We can't run without acpi:
+	[ -e /proc/acpi ] || exit 1
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/pommed ]; then
 		msg_starting pommed
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pommed.init?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list