diff options
| author | Dirk von Suchodoletz | 2006-03-25 17:17:31 +0100 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2006-03-25 17:17:31 +0100 |
| commit | 494d472f83758f41e6f38b9b63fc42e79c5d3635 (patch) | |
| tree | f327c3626bc159e9316476abec2b53d6201a1a46 /initrd/initrd-stuff/bin/screenres | |
| parent | move vm-mount into InitRD, heavy cleanups in initial ramdisk (diff) | |
| download | core-494d472f83758f41e6f38b9b63fc42e79c5d3635.tar.gz core-494d472f83758f41e6f38b9b63fc42e79c5d3635.tar.xz core-494d472f83758f41e6f38b9b63fc42e79c5d3635.zip | |
ensured "ash" compatibility, minor fixes and cleanups, ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@128 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/bin/screenres')
| -rwxr-xr-x | initrd/initrd-stuff/bin/screenres | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
