]> git.pld-linux.org Git - packages/lm_sensors.git/blobdiff - sensors.init
- pre and post moved to sensord package
[packages/lm_sensors.git] / sensors.init
index 7a5e93387ca05212d0087bea39853501167b5e62..66207f01db6648cd49f1777d3aa8b5466c39d702 100644 (file)
@@ -22,7 +22,8 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/sensors ]; then
                if [ -z "$BUS" ] || [ -z "$CHIP" ]; then 
-                       # sensors not configured                
+                       msg_starting "sensors daemon"; fail
+                       nls "BUS or CHIP not configured in /etc/sysconfig/sensors"
                        exit 1
                fi
                
@@ -72,7 +73,7 @@ case "$1" in
        fi
        ;;
   status)
-       status sensord
+       status sensors sensord
        sensors
        ;;
   restart)
This page took 0.078221 seconds and 4 git commands to generate.