summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-21 16:47:39 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-21 16:47:39 +0000
commit142593316e874567dfaa7164a6a7c36d46ea7f30 (patch)
tree7eba98767658c1309dbaf1654d6bcc412e34b963 /perl-install/standalone/service_harddrake
parent5b24d850345c1f4e3053ab68827ccc2af90d3982 (diff)
downloaddrakx-142593316e874567dfaa7164a6a7c36d46ea7f30.tar
drakx-142593316e874567dfaa7164a6a7c36d46ea7f30.tar.gz
drakx-142593316e874567dfaa7164a6a7c36d46ea7f30.tar.bz2
drakx-142593316e874567dfaa7164a6a7c36d46ea7f30.tar.xz
drakx-142593316e874567dfaa7164a6a7c36d46ea7f30.zip
notify when harddrake switched to free video driver (#39164)
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 1affd75e9..1788481cf 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -75,6 +75,7 @@ foreach my $card (@cards) {
substInFile { $new_driver = $1 if s!Driver "($card->{xorg_driver_regexp})"!Driver "$driver"!g } '/etc/X11/xorg.conf';
if ($new_driver) {
log::explanations("switch X.org driver from $new_driver to $driver");
+ touch('/var/run/harddrake-notify-x11-free-driver-switch');
Xconfig::card::libgl_config_and_more({ Driver => $driver });
}
}