]> git.pld-linux.org Git - packages/lm_sensors.git/commitdiff
- reverte last change (s#i2c-$CHIP#$CHIP#; s#$BUS#i2c-$BUS#).
authorkloczek <kloczek@pld-linux.org>
Fri, 1 Feb 2002 09:42:26 +0000 (09:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sensors.init -> 1.7

sensors.init

index 34efae9fef71fcc33cbc785f7deacc7101ee1327..4c396036d3dd0035004cefd2ee60b81878c8139f 100644 (file)
@@ -27,8 +27,8 @@ case "$1" in
                fi
                
                # insert modules
-               _modprobe single die "$BUS"
-               _modprobe single die "i2c-$CHIP"
+               _modprobe single die "i2c-$BUS"
+               _modprobe single die "$CHIP"
 
                if [ "$SENSORS_SET" = "1" ]; then
                        sensors -s
@@ -54,8 +54,8 @@ case "$1" in
                killproc sensord
                
                # remove kernel modules
-               /sbin/rmmod i2c-$CHIP >/dev/null 2>&1 
-               /sbin/rmmod $BUS >/dev/null 2>&1 
+               /sbin/rmmod $CHIP >/dev/null 2>&1 
+               /sbin/rmmod i2c-$BUS >/dev/null 2>&1 
                
                rm -f /var/lock/subsys/sensors
        else
This page took 0.081746 seconds and 4 git commands to generate.