On Fri, May 25, 2007 at 09:48:00AM +0200, Bart Samwel wrote:
> Hi Nathaniel,
> 
> Thanks for the patch, I'll include it in the next update! Just checking: 
> why does the laptop_mode script crash if the modprobe fails? The way I 
> understand the code, when the modprobe fails it should just print an 
> error message about the modprobe and continue.

Hmm, I didn't actually follow up in detail, it just printed some loud
error message at me and didn't seem to be setting the governor, so I
assumed that it must be using set -e or something.

Though on further investigation, it looks like the error message may
have just come from modprobe:
  ~$ sudo modprobe cpufreq_asdfsadf
  FATAL: Module cpufreq_asdfsadf not found.
and perhaps I just didn't check closely enough whether it was actually
working -- FATAL tends to be a discouraging thing to get from an
/etc/init.d script :-).

Cheers,
-- Nathaniel

-- 
- Don't let your informants burn anything.
- Don't grow old.
- Be good grad students.
  -- advice of Murray B. Emeneau on the occasion of his 100th birthday


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to