]> git.pld-linux.org Git - packages/lm_sensors.git/commitdiff
- removed unnecessary stuff
authorfilon <filon@sokrates.mimuw.edu.pl>
Mon, 21 Jan 2002 08:22:29 +0000 (08:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sensors.init -> 1.2

sensors.init

index 5c6ec66f97fc0c20121987df9d436485b2eb02e7..7b8359150986fa3cffd1ed19a8b646b7efec3564 100644 (file)
@@ -16,30 +16,20 @@ if [ -f /etc/sysconfig/sensors ] ; then
         . /etc/sysconfig/sensors
 fi
 
-failed()
-{
-       msg_starting "sensors daemon"
-       fail
-       exit 1
-}
-
 # See how we were called.
 case "$1" in
   start)
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/sensors ]; then
-               msg_starting "sensors daemon"
-               busy; echo
-
-               # sensors not configured                
                if [ -z "$BUS" ] || [ -z "$CHIP" ]; then 
-                       failed
+                       # sensors not configured                
+                       exit 1
                fi
                
                # insert modules
                _modprobe single die "i2c-$BUS"
                _modprobe single die "$CHIP"
-
+               
                msg_starting "sensors daemon"
                daemon sensord \
                        $([ -n "$INTERVAL" ] && echo "-i $INTERVAL") \
This page took 0.033204 seconds and 4 git commands to generate.