Update of /cvsroot/devil-linux/build/scripts/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv19486/scripts/scripts
Modified Files:
lm_sensors
Log Message:
lm-sensors init script
Index: lm_sensors
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/lm_sensors,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lm_sensors 28 Nov 2003 00:03:31 -0000 1.1
+++ lm_sensors 28 Nov 2003 00:15:19 -0000 1.2
@@ -25,11 +25,14 @@
# source function library
source /etc/init.d/functions
+eval START=\$START_$CONFIGNAME
+
# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}
-# Force execution if not called by a runlevel directory.
+test $link = $base && START=yes
+test "$START" = "yes" || exit 0
case "$1" in
start)
|