From 388f1d48fb09e53e54b7759c1a7fc6ce23b155cd Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Thu, 29 Aug 2013 09:08:31 +0200 Subject: [PATCH] do not activate hybrid-sleep during config switches --- modules/system/activation/switch-to-configuration.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/activation/switch-to-configuration.pl b/modules/system/activation/switch-to-configuration.pl index ea9f8cb5a9a6..33ae3aef9fca 100644 --- a/modules/system/activation/switch-to-configuration.pl +++ b/modules/system/activation/switch-to-configuration.pl @@ -136,7 +136,7 @@ while (my ($unit, $state) = each %{$activePrev}) { # swap devices). FIXME: the suspend target is sometimes # active after the system has resumed, which probably # should not be the case. Just ignore it. - if ($unit ne "suspend.target" && $unit ne "hibernate.target") { + if ($unit ne "suspend.target" && $unit ne "hibernate.target" && $unit ne "hybrid-sleep.target") { unless (boolIsTrue($unitInfo->{'RefuseManualStart'} // "no")) { write_file($startListFile, { append => 1 }, "$unit\n"); }