From 76ee9007095484a113d1856786b81e2d2fae8202 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 30 May 2013 01:31:58 -0700 Subject: Thu May 30 01:31:56 PDT 2013 --- extra/lm_sensors/lm_sensors-fancontrol.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra/lm_sensors/lm_sensors-fancontrol.patch') diff --git a/extra/lm_sensors/lm_sensors-fancontrol.patch b/extra/lm_sensors/lm_sensors-fancontrol.patch index e58891695..c42d7b870 100644 --- a/extra/lm_sensors/lm_sensors-fancontrol.patch +++ b/extra/lm_sensors/lm_sensors-fancontrol.patch @@ -4,8 +4,8 @@ cd $DIR # Check for configuration change --if [ -z "$DEVPATH" -o -z "$DEVNAME" ] -+if [ -z "$DEVPATH" ] || [ -z "$DEVNAME" ] +-if [ "$DIR" != "/" ] && [ -z "$DEVPATH" -o -z "$DEVNAME" ] ++if [[ "$DIR" != "/" && ( -z "$DEVPATH" || -z "$DEVNAME" ) ]] then echo "Configuration is too old, please run pwmconfig again" >&2 exit 1 -- cgit v1.2.3-54-g00ecf