diff options
| author | Felix Endres | 2006-03-21 17:33:01 +0100 |
|---|---|---|
| committer | Felix Endres | 2006-03-21 17:33:01 +0100 |
| commit | 33ea007ab9c9a6630d817644959cb1ca7ce1e1dd (patch) | |
| tree | c050fa8b8dd4d055fb9bd3005e8b537ad2892a7f /initrd/initrd-stuff/bin | |
| parent | Added 'sync' to runvmware (ensure that data is really written to loop (diff) | |
| download | core-33ea007ab9c9a6630d817644959cb1ca7ce1e1dd.tar.gz core-33ea007ab9c9a6630d817644959cb1ca7ce1e1dd.tar.xz core-33ea007ab9c9a6630d817644959cb1ca7ce1e1dd.zip | |
Fix: dhclientuser für Ubuntu
Neue Basepasswd
Screenresolutionermittlung
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@109 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/bin')
| -rwxr-xr-x | initrd/initrd-stuff/bin/hwautocfg | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index 9ce5cd75..835124a0 100755 --- a/initrd/initrd-stuff/bin/hwautocfg +++ b/initrd/initrd-stuff/bin/hwautocfg @@ -149,11 +149,12 @@ fi monmanual=yes -# compute max resolution -for res in 640x400 640x480 800x600 1024x768 1280x1024 1400x1050 1600x1200 - do MODES="\"$res\" \"lcd$res\" $MODES" - [ "$res" = "$MR" ] && break -done +## compute max resolution +#for res in 640x400 640x480 800x600 1024x768 1280x1024 1400x1050 1600x1200 +# do MODES="\"$res\" \"lcd$res\" $MODES" +# [ "$res" = "$MR" ] && break +#done +MODES=`screenres | sed -n '/Recommended Screen Modes:/s/[^"]*\(.*\)/\1/p'` # finally write config file echo -e "#\n# autogenerated X hardware configuration by $0\n# \ |
