SOURCES: hdapsd.init - fix formatting if kernel module does not load

glen glen at pld-linux.org
Fri Mar 27 08:19:38 CET 2009


Author: glen                         Date: Fri Mar 27 07:19:38 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix formatting if kernel module does not load

---- Files affected:
SOURCES:
   hdapsd.init (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/hdapsd.init
diff -u SOURCES/hdapsd.init:1.6 SOURCES/hdapsd.init:1.7
--- SOURCES/hdapsd.init:1.6	Fri Mar 27 08:13:58 2009
+++ SOURCES/hdapsd.init	Fri Mar 27 08:19:32 2009
@@ -23,6 +23,7 @@
 		return
 	fi
 
+	msg_starting hdapsd
   	# check whether kernel is hdaps_protect enabled
 	if [ ! -f /sys/devices/platform/hdaps/position ]; then
 		# it is not, try to load hdaps module and see if that helps
@@ -33,7 +34,6 @@
 		fi;
 	fi;
 	
-	msg_starting hdapsd
 	daemon hdapsd -d ${HDAPS_DEVICE} -s ${HDAPS_SENSITIVITY} ${HDAPS_OPTIONS} -b
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/hdapsd
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/hdapsd.init?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list