From 494d472f83758f41e6f38b9b63fc42e79c5d3635 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sat, 25 Mar 2006 16:17:31 +0000 Subject: ensured "ash" compatibility, minor fixes and cleanups, ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@128 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/screenres | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initrd/initrd-stuff/bin/screenres') diff --git a/initrd/initrd-stuff/bin/screenres b/initrd/initrd-stuff/bin/screenres index 8a04f40a..ad263ae9 100755 --- a/initrd/initrd-stuff/bin/screenres +++ b/initrd/initrd-stuff/bin/screenres @@ -62,7 +62,7 @@ fi echo " ($tft_probability)" # Find the lines with two times 3 to 4 digits delimited by an x. Print with the two values reverted, so sort sorts w.r.t the 2nd value. Then swap back -screen_resolutions=`sed -n '/edid/I,$s/.*[ \t]\([0-9]\{3,4\}\) *x *\([0-9]\{3,4\}\).*/\2 x \1/p' ${tmp_ddcprobe_output}| sort -r -n | uniq| sed -n 's/\([0-9]\{3,4\}\) x \([0-9]\{3,4\}\).*/"\2x\1"/p' ` +screen_resolutions=`sed -n '/edid/I,$s/.*[ \t]\([0-9]\{3,4\}\) *x *\([0-9]\{3,4\}\).*/\2 x \1/p' ${tmp_ddcprobe_output}| sort -rn | sort -rnu | sed -n 's/\([0-9]\{3,4\}\) x \([0-9]\{3,4\}\).*/"\2x\1"/p' ` screen_resolutions=`echo $screen_resolutions` echo "Supported Screen Modes: $screen_resolutions" -- cgit v1.2.3-55-g7522