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
commitdfa344d88dcb9510cc9a65e9ef02921557d00726 (patch)
tree127f68120a37c1baf2e7c24be42866ab64886cfd
parent94c6a94f34cfcd17f1d3b19807de422cfb4f2d93 (diff)
downloaddrakx-backup-do-not-use-dfa344d88dcb9510cc9a65e9ef02921557d00726.tar
drakx-backup-do-not-use-dfa344d88dcb9510cc9a65e9ef02921557d00726.tar.gz
drakx-backup-do-not-use-dfa344d88dcb9510cc9a65e9ef02921557d00726.tar.bz2
drakx-backup-do-not-use-dfa344d88dcb9510cc9a65e9ef02921557d00726.tar.xz
drakx-backup-do-not-use-dfa344d88dcb9510cc9a65e9ef02921557d00726.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();