From ac3dfbf4b8c0d97ce7e44c2fe714919e7847d987 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 20 Oct 1999 14:29:46 +0000 Subject: *** empty log message *** --- perl-install/Xconfig.pm | 5 +++++ perl-install/install2.pm | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm index d5f65f42b..af5c10f39 100644 --- a/perl-install/Xconfig.pm +++ b/perl-install/Xconfig.pm @@ -90,6 +90,11 @@ sub getinfoFromXF86Config { } } } + #- get the default resolution. + my @depth = keys %{$o->{card}{depth}}; + $o->{resolution_wanted} ||= + $o->{card}{depth}{$o->{card}{default_depth} || $depth[0]}[0][0] . "x" . + $o->{card}{depth}{$o->{card}{default_depth} || $depth[0]}[0][1]; $o; } diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 6468d00cb..69c50eff3 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -174,7 +174,7 @@ $o = $::o = { #- user => { name => 'foo', password => 'bar', home => '/home/foo', shell => '/bin/bash', realname => 'really, it is foo' }, #- keyboard => 'de', -#- display => "192.168.1.19:1", +#- display => "192.168.1.19:2", steps => \%installSteps, orderedSteps => \@orderedInstallSteps, -- cgit v1.2.1