diff options
author | Felix Endres | 2006-04-20 15:54:22 +0200 |
---|---|---|
committer | Felix Endres | 2006-04-20 15:54:22 +0200 |
commit | d04ce3abe080a8fa5179940d7bc73f0d177a950d (patch) | |
tree | 4572bceb99ec4b560c9c792be455b362b342c4ed /initrd | |
parent | enable start of cron service (diff) | |
download | core-d04ce3abe080a8fa5179940d7bc73f0d177a950d.tar.gz core-d04ce3abe080a8fa5179940d7bc73f0d177a950d.tar.xz core-d04ce3abe080a8fa5179940d7bc73f0d177a950d.zip |
Error concerning the processing of the hw_monitor variable fixed
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@190 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-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 |