]> git.pld-linux.org Git - packages/lm_sensors.git/commitdiff
- fancontrol scripts fixes
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 27 Oct 2006 09:35:02 +0000 (09:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lm_sensors.spec -> 1.165

lm_sensors.spec

index bbab6d8d6b766e28b66a094dd0f6dde5dfdcbf24..104374b414c81a2ab42c4d1e21153ed8ff1c1c8d 100644 (file)
@@ -227,23 +227,23 @@ fi
 /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
This page took 0.079237 seconds and 4 git commands to generate.