SPECS: lm_sensors.spec - fancontrol scripts fixes

qboosh qboosh at pld-linux.org
Fri Oct 27 11:35:07 CEST 2006


Author: qboosh                       Date: Fri Oct 27 09:35:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fancontrol scripts fixes

---- Files affected:
SPECS:
   lm_sensors.spec (1.164 -> 1.165) 

---- Diffs:

================================================================
Index: SPECS/lm_sensors.spec
diff -u SPECS/lm_sensors.spec:1.164 SPECS/lm_sensors.spec:1.165
--- SPECS/lm_sensors.spec:1.164	Fri Oct 27 11:31:39 2006
+++ SPECS/lm_sensors.spec	Fri Oct 27 11:35:02 2006
@@ -228,23 +228,23 @@
 /sbin/chkconfig --add sensors
 %service sensors restart "sensors daemon"
 
-%post fancontrol
-if [ "$1" = 1 ]; then
-	echo "You have to configure facontrol by running service fancontrol init first."
-fi
-/sbin/chkconfig --add sensors
-%service fancontrol restart "sensors daemon"
-
 %preun sensord
 if [ "$1" = "0" ]; then
 	%service sensors stop
 	/sbin/chkconfig --del sensors
 fi
 
+%post fancontrol
+if [ "$1" = 1 ]; then
+	echo "You have to configure fancontrol by running service fancontrol init first."
+fi
+/sbin/chkconfig --add fancontrol
+%service fancontrol restart "fancontrol daemon"
+
 %preun fancontrol
 if [ "$1" = "0" ]; then
-	%service sensors stop
-	/sbin/chkconfig --del sensors
+	%service fancontrol stop
+	/sbin/chkconfig --del fancontrol
 fi
 
 %files
@@ -308,6 +308,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.165  2006/10/27 09:35:02  qboosh
+- fancontrol scripts fixes
+
 Revision 1.164  2006/10/27 09:31:39  qboosh
 - base R: -libs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lm_sensors.spec?r1=1.164&r2=1.165&f=u



More information about the pld-cvs-commit mailing list