diff options
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 79bb09b43..a1ec50cc2 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -113,7 +113,9 @@ my @cards = ( ); -my @devices = grep { $_->{driver} =~ /^Card:/ } detect_devices::probeall(); +my @devices; +@devices = grep { $_->{driver} =~ /^Card:/ } detect_devices::probeall() + if -f '/etc/X11/xorg.conf'; # do not auto reconfigure if more than one graphic card: $cfg{AUTORECONFIGURE_RIGHT_XORG_DRIVER} = 'no' if scalar(@devices) > 1; |