Skip to contentSkip to conversation

Enhancement request: fancontrol error messages to

lm-sensors Charles 2 participants 4 messages Dec 2, 2011 – Dec 4, 2011

lore
Share & tools
lore

Charles

author
#0 lore raw

Hello :-)

How about modifying the fancontrol script to write error messages to stderr?

It would be more conventional and, for example could be used to make it less verbose -- while allowing any error messages to appear -- when run from boot scripts by something like:

fancontrol > /dev/null

Best

Charles

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Charles,

Quoted 9 lines · Charles

Hello :-)

How about modifying the fancontrol script to write error messages to stderr?

It would be more conventional and, for example could be used to make it less verbose -- while allowing any error messages to appear -- when run from boot scripts by something like:

fancontrol > /dev/null

I agree this makes sense. I've made the necessary changes, please give a try to:
http://khali.linux-fr.org/devel/misc/fancontrol
Make sure you don't get a cached version, as I just updated it.

If it works OK for you, I'll commit both changes to the repository.

Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author
#2 lore raw
In reply to Charles
Quoted 6 lines · Jean Delvare
Quoted 6 lines
Quoted 6 lines

How about modifying the fancontrol script to write error messages to stderr?

It would be more conventional and, for example could be used to make it less verbose -- while allowing any error messages to appear -- when run from boot scripts by something like:

Quoted 6 lines
Quoted 1 line
Quoted 1 line

fancontrol > /dev/null

I agree this makes sense. I've made the necessary changes, please give a try to:
http://khali.linux-fr.org/devel/misc/fancontrol
Make sure you don't get a cached version, as I just updated it.

If it works OK for you, I'll commit both changes to the repository.

Thanks Jean :)

It tests OK (no output) when run by

fancontrol >/dev/null &

Best

Charles

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Charles
Quoted 12 lines · Charles
Quoted 11 lines · Jean Delvare
Quoted 7 lines
Quoted 7 lines

How about modifying the fancontrol script to write error messages to stderr?

It would be more conventional and, for example could be used to make it less verbose -- while allowing any error messages to appear -- when run from boot scripts by something like:

fancontrol > /dev/null

I agree this makes sense. I've made the necessary changes, please give a try to:
http://khali.linux-fr.org/devel/misc/fancontrol
Make sure you don't get a cached version, as I just updated it.

Quoted 7 lines
Quoted 1 line

If it works OK for you, I'll commit both changes to the repository.

Thanks Jean :)

It tests OK (no output) when run by

fancontrol >/dev/null &

Thanks for the report. Patches committed:
http://www.lm-sensors.org/changeset/6000
http://www.lm-sensors.org/changeset/6001

Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors