Peter Humphrey <[EMAIL PROTECTED]> posted [EMAIL PROTECTED], excerpted below, on Sun, 11 Feb 2007 04:02:44 +0000:
> On Saturday 10 February 2007 15:06:56 Duncan wrote: >> Peter Humphrey <[EMAIL PROTECTED]> posted >> [EMAIL PROTECTED], excerpted below, on Sat, 10 Feb >> >> 2007 09:47:41 +0000: >> > I'd like my /etc/conf.d/local.start to distinguish between soft >> > run-levels, so that "sensors -s" will be run in the default level but >> > not in the no-x level I've defined for maintenance. >> >> sensors -s? If that's lm_sensors, why aren't you running the lm_sensors >> initscript instead of using local.start for it? > > [lecture snipped] > > Of course I'm using the init script. The lm_sensors documents specify > running "sensors -s" in addition to that. Sheesh. What documents? The generic ones that don't account for the fact that Gentoo's initscript already takes care of it, you just have to add it to the appropriate runlevel? If you read the initscript, you'll see it does in fact include exactly that initialization command (sensors -s). Take a look yourself if you wish. Unless there's a bug in the script, that should be all you need. If there's a bug in the script and it's not working, then file a bug, and until it's fixed you'll likely need a workaround, but that's not what you said. Anyway, lecture or not, the file I pointed you at and its comment regarding the softlevel conditional initscripts was correct, regardless of why you want to use it. It just so happens you shouldn't need to use it in the way you proposed, tho you /might/ wish to use it with the lm_sensors initscript. That's what I was saying in that "lecture". To quote you, "Sheesh." -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- [email protected] mailing list
