From d04ce3abe080a8fa5179940d7bc73f0d177a950d Mon Sep 17 00:00:00 2001 From: Felix Endres Date: Thu, 20 Apr 2006 13:54:22 +0000 Subject: 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 --- initrd/initrd-stuff/bin/hwautocfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initrd/initrd-stuff/bin') 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 -- cgit v1.2.3-55-g7522