The following patch fixes the fancontrol script so it can handle absolute filenames again. Marc
Index: prog/pwm/fancontrol =================================================================== --- prog/pwm/fancontrol (revision 6127) +++ prog/pwm/fancontrol (working copy) @@ -289,16 +289,19 @@ cd $DIR # Check for configuration change -if [ -z "$DEVPATH" -o -z "$DEVNAME" ] +if [ "$DIR" != "/" ] then - echo "Configuration is too old, please run pwmconfig again" >&2 - exit 1 + if [ -z "$DEVPATH" -o -z "$DEVNAME" ] + then + echo "Configuration is too old, please run pwmconfig again" >&2 + exit 1 + fi + if ! ValidateDevices "$DEVPATH" "$DEVNAME" + then + echo "Configuration appears to be outdated, please run pwmconfig again" >&2 + exit 1 + fi fi -if ! ValidateDevices "$DEVPATH" "$DEVNAME" -then - echo "Configuration appears to be outdated, please run pwmconfig again" >&2 - exit 1 -fi CheckFiles || exit 1 if [ -f "$PIDFILE" ]
_______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors