diff options
author | root <root@rshg054.dnsready.net> | 2013-05-30 01:31:58 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-30 01:31:58 -0700 |
commit | 76ee9007095484a113d1856786b81e2d2fae8202 (patch) | |
tree | 5f32a600b3d22c285dba07d99e669b7c52285d95 /extra/lm_sensors/lm_sensors-fancontrol.patch | |
parent | d267e861074512027414df29d18d9824e0faae8f (diff) |
Thu May 30 01:31:56 PDT 2013
Diffstat (limited to 'extra/lm_sensors/lm_sensors-fancontrol.patch')
-rw-r--r-- | extra/lm_sensors/lm_sensors-fancontrol.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 |