From a5890ce091dbc860d6f226f303039002efa6a77a Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 8 Jul 2003 13:07:59 +0000 Subject: [PATCH] Recommend the user to give a try to the modprobe and sensors -s commands directly. Make the sleep before sensors -s a comment. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1877 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index bf7cc669..d4880218 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -3718,22 +3718,22 @@ sub main my $use_isa = not =~ /\s*[Ss]/; my ($modprobes,$configfile) = generate_modprobes $use_isa; - print "\nWARNING! If you have some things built into your kernel, the \n", - "below list will contain too many modules. Skip the appropriate ones!"; - print "\nTo load everything that is needed, add this to some /etc/rc* ", - "file:\n\n"; - print "#----cut here----\n"; - print $modprobes; - print "# Next 2 lines are optional\n", - "sleep 3\n", - "/usr/local/bin/sensors -s\n"; - print "#----cut here----\n"; - print "\nTo make the sensors modules behave correctly, add these lines to ", - "either\n", + print "\nTo make the sensors modules behave correctly, add these lines to either\n", "/etc/modules.conf or /etc/conf.modules:\n\n"; print "#----cut here----\n"; print $configfile; print "#----cut here----\n"; + print "\nTo load everything that is needed, add this to some /etc/rc* ", + "file:\n\n"; + print "#----cut here----\n"; + print $modprobes; + print "# sleep 2 # optional\n", + "/usr/local/bin/sensors -s # recommended\n"; + print "#----cut here----\n"; + print "\nWARNING! If you have some things built into your kernel, the list above\n", + "will contain too many modules. Skip the appropriate ones! You really should\n", + "try these commands right now to make sure everything is working properly.\n", + "Monitoring programs won't work until it's done.\n"; my $have_sysconfig = -d '/etc/sysconfig'; print "\nDo you want to generate /etc/sysconfig/lm_sensors? (".