26 lines
945 B
Diff
26 lines
945 B
Diff
--- lm_sensors-2.10.4/prog/detect/sensors-detect~ 2007-07-19 13:53:58.000000000 -0400
|
|
+++ lm_sensors-2.10.4/prog/detect/sensors-detect 2007-08-21 14:29:25.000000000 -0400
|
|
@@ -5785,10 +5785,8 @@
|
|
$i++;
|
|
}
|
|
print SYSCONFIG $sysconfig;
|
|
-
|
|
- print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n".
|
|
- "for initialization at boot time.\n"
|
|
- unless -f "/etc/init.d/lm_sensors";
|
|
+
|
|
+ system("/sbin/chkconfig", "lm_sensors", "on");
|
|
}
|
|
}
|
|
diff -up lm_sensors-2.10.4/prog/init/lm_sensors.init~ lm_sensors-2.10.4/prog/init/lm_sensors.init
|
|
--- lm_sensors-2.10.4/prog/init/lm_sensors.init~ 2007-08-22 16:43:50.000000000 +0200
|
|
+++ lm_sensors-2.10.4/prog/init/lm_sensors.init 2007-08-22 16:43:50.000000000 +0200
|
|
@@ -1,6 +1,6 @@
|
|
#!/bin/sh
|
|
#
|
|
-# chkconfig: 2345 26 74
|
|
+# chkconfig: - 26 74
|
|
# description: sensors is used for monitoring motherboard sensor values.
|
|
# config: /etc/sysconfig/lm_sensors
|
|
#
|