summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mageia.org>2011-04-20 23:33:02 +0000
committerAnssi Hannula <anssi@mageia.org>2011-04-20 23:33:02 +0000
commit241f93a35cb2f3ccff1eb65bc41f8f74e76828fd (patch)
tree127f68120a37c1baf2e7c24be42866ab64886cfd
parentc54292c196be18c288e702cad02722c0b066c494 (diff)
downloaddrakx-241f93a35cb2f3ccff1eb65bc41f8f74e76828fd.tar
drakx-241f93a35cb2f3ccff1eb65bc41f8f74e76828fd.tar.gz
drakx-241f93a35cb2f3ccff1eb65bc41f8f74e76828fd.tar.bz2
drakx-241f93a35cb2f3ccff1eb65bc41f8f74e76828fd.tar.xz
drakx-241f93a35cb2f3ccff1eb65bc41f8f74e76828fd.zip
service_harddrake: remove unneeded test
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 27d8cdb6d..48758fc17 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -423,7 +423,7 @@ if (!$reboot_needed && text2bool($cfg{HANDLE_KMS_BOOT_CONFIG})) {
# incorrect driver is loaded, X.org can't start (e.g. proprietary driver loaded while free driver in use,
# or free driver loaded while vesa is configured).
$reboot_needed |= Xconfig::various::setup_kms();
- } elsif (!$reboot_needed && -e "/dev/.late_kms") {
+ } elsif (-e "/dev/.late_kms") {
# initrd didn't load the KMS driver; non-fatal but ugly, fix it for next boot
unlink("/dev/.late_kms");
Xconfig::various::setup_kms();