Changeset 2799

Show
Ignore:
Timestamp:
12/22/04 00:21:51 (8 years ago)
Author:
mds
Message:

change lockfile name (forgot to check in before)

Files:
1 modified

Legend:

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

    r2041 r2799  
    4848 
    4949# If sensors was not already running, unload the module... 
    50 [ -e /var/lock/subsys/sensors ] || /sbin/modprobe -r i2c-proc &>/dev/null 
     50[ -e /var/lock/subsys/lm_sensors ] || /sbin/modprobe -r i2c-proc &>/dev/null 
    5151 
    5252CONFIG=/etc/sysconfig/lm_sensors 
     
    107107 
    108108        RETVAL=$? 
    109         if [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sensors ; then 
     109        if [ $RETVAL -eq 0 ] && touch /var/lock/subsys/lm_sensors ; then 
    110110            rc_status -v 
    111111        else 
     
    128128 
    129129        RETVAL=$? 
    130         if [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sensors ; then 
     130        if [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/lm_sensors ; then 
    131131            rc_status -v 
    132132        else 
     
    147147 
    148148condrestart() { 
    149         [ -e /var/lock/subsys/sensors ] && restart || : 
     149        [ -e /var/lock/subsys/lm_sensors ] && restart || : 
    150150} 
    151151