diff options
Diffstat (limited to 'initrd/initrd-stuff')
| -rwxr-xr-x | initrd/initrd-stuff/bin/hwautocfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index 23d30b8f..a17c5b9d 100755 --- a/initrd/initrd-stuff/bin/hwautocfg +++ b/initrd/initrd-stuff/bin/hwautocfg @@ -95,7 +95,7 @@ if [ -n "$hw_monitor" ] ; then # just cut all starting from k(Hz) ... HS=${hw_monitor%k*} VS=${hw_monitor%Hz*} - [ -z "$VS" ] && VS=${hw_monitor%hz*} + [ "${hw_monitor}" == "$VS" ] && VS=${hw_monitor%hz*} VS=${VS##* } SCR_MODES=${hw_monitor##* } else |
