From 2ef3c5b20e88c68064ea993241ac6a4f2d9fa959 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 28 Oct 2009 18:10:11 +0000 Subject: enable to disable reconfiguring to default driver through AUTORECONFIGURE_RIGHT_XORG_DRIVER in /etc/sysconfig/harddrake2/service.conf --- perl-install/standalone/service_harddrake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/standalone/service_harddrake') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index a53aa9d55..eb69a2eef 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -112,6 +112,8 @@ my @cards = ( my @devices = grep { $_->{driver} =~ /^Card:/ } detect_devices::probeall(); foreach my $device (@devices) { + next if !text2bool($cfg{AUTORECONFIGURE_RIGHT_XORG_DRIVER}); + my $id = $device->{driver} =~ /Card:(.*)/ && $1; my $card_data = Xconfig::card::readCardsDB("/usr/share/ldetect-lst/Cards+")->{$id}; my $current_driver = get_xorg_driver(); -- cgit v1.2.1