From 241f93a35cb2f3ccff1eb65bc41f8f74e76828fd Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Wed, 20 Apr 2011 23:33:02 +0000 Subject: service_harddrake: remove unneeded test --- perl-install/standalone/service_harddrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone') 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(); -- cgit v1.2.1