]> git.pld-linux.org Git - packages/lm_sensors.git/commitdiff
- display message when BUS and/or CHIP is not set in config file
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 21 Jul 2002 16:46:52 +0000 (16:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass daemon name to status()

Changed files:
    sensors.init -> 1.9

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.090106 seconds and 4 git commands to generate.