Changeset 2776

Show
Ignore:
Timestamp:
11/27/04 05:24:41 (9 years ago)
Author:
mds
Message:

rename lockfile from sensors to lm_sensors; ticket 1806

Location:
lm-sensors/trunk/prog/init
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/init/lm_sensors.init

    r2657 r2776  
    4444 
    4545        # If sensors was not already running, unload the module... 
    46         [ -e /var/lock/subsys/sensors ] || /sbin/modprobe -r i2c-proc &>/dev/null 
     46        [ -e /var/lock/subsys/lm_sensors ] || /sbin/modprobe -r i2c-proc &>/dev/null 
    4747fi 
    4848 
     
    7474 
    7575        RETVAL=$? 
    76         if [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sensors ; then 
     76        if [ $RETVAL -eq 0 ] && touch /var/lock/subsys/lm_sensors ; then 
    7777                echo_success 
    7878                echo 
     
    100100 
    101101        RETVAL=$? 
    102         if [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sensors ; then 
     102        if [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/lm_sensors ; then 
    103103                echo_success 
    104104                echo 
     
    121121 
    122122condrestart() { 
    123         [ -e /var/lock/subsys/sensors ] && restart || : 
     123        [ -e /var/lock/subsys/lm_sensors ] && restart || : 
    124124} 
    125125 
  • lm-sensors/trunk/prog/init/sensord.init

    r1412 r2776  
    9393        RETVAL=$? 
    9494 
    95         [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sensors 
     95        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/lm_sensors 
    9696 
    9797        echo 
     
    115115 
    116116        echo 
    117         [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sensors 
     117        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/lm_sensors 
    118118 
    119119        return $RETVAL 
     
    147147        ;; 
    148148  condrestart) 
    149         [ -e /var/lock/subsys/sensors ] && restart || : 
     149        [ -e /var/lock/subsys/lm_sensors ] && restart || : 
    150150        ;; 
    151151  *)