summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-13 11:08:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-13 11:08:01 +0000
commite13c6c69cc694b81de2caae0807516c3d44838a2 (patch)
tree8672d035bdbf406b6ea3374a41c9b48c1091cf91
parent084684be236da0acb25fc339ca1f275b340cfd6b (diff)
downloaddrakx-backup-do-not-use-e13c6c69cc694b81de2caae0807516c3d44838a2.tar
drakx-backup-do-not-use-e13c6c69cc694b81de2caae0807516c3d44838a2.tar.gz
drakx-backup-do-not-use-e13c6c69cc694b81de2caae0807516c3d44838a2.tar.bz2
drakx-backup-do-not-use-e13c6c69cc694b81de2caae0807516c3d44838a2.tar.xz
drakx-backup-do-not-use-e13c6c69cc694b81de2caae0807516c3d44838a2.zip
(export_to_install_X): if monitor is p'n'p, don't save it for auto_install
-rw-r--r--perl-install/Xconfig/main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/main.pm b/perl-install/Xconfig/main.pm
index 10cc58f1c..9f9d6e7cc 100644
--- a/perl-install/Xconfig/main.pm
+++ b/perl-install/Xconfig/main.pm
@@ -161,7 +161,7 @@ sub export_to_install_X {
$::o->{X}{resolution_wanted} = $X->{resolution}{X};
$::o->{X}{default_depth} = $X->{resolution}{Depth};
$::o->{X}{bios_vga_mode} = $X->{resolution}{bios};
- $::o->{X}{monitor} = $X->{monitor} if $X->{monitor}{manually_chosen};
+ $::o->{X}{monitor} = $X->{monitor} if $X->{monitor}{manually_chosen} && $X->{monitor}{vendor} ne "Plug'n Play";
$::o->{X}{card} = $X->{monitor} if $X->{card}{manually_chosen};
}