From 9076456b1551ee5fd7434a0330ff07317369df26 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 21 Oct 2011 16:22:38 +0000 Subject: [PATCH] * Don't restart udevtrigger from the switch script. It's triggered by udev. svn path=/nixos/trunk/; revision=29962 --- modules/system/activation/switch-to-configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/activation/switch-to-configuration.sh b/modules/system/activation/switch-to-configuration.sh index 185a7f75b0b..2586d492d9e 100644 --- a/modules/system/activation/switch-to-configuration.sh +++ b/modules/system/activation/switch-to-configuration.sh @@ -114,7 +114,7 @@ EOF # Xen domains unless we have to. # TODO: Jobs should be able to declare that they should not be # auto-restarted. - if echo "$job" | grep -q "^shutdown$\|^control-alt-delete$\|^xserver$\|^dbus$\|^disnix$\|^emergency-shell$\|^xendomains$"; then continue; fi + if echo "$job" | grep -q "^shutdown$\|^control-alt-delete$\|^xserver$\|^dbus$\|^disnix$\|^emergency-shell$\|^xendomains$\|^udevtrigger$"; then continue; fi if ! test -e "$oldJobs/$job.conf"; then echo "starting $job..."