From 02e4a78c71e94d6478b96d3a1fe8f7e52aa6c808 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Mon, 5 Apr 2010 20:35:08 +0000 Subject: [PATCH] Disnix should also remain active during a switch svn path=/nixos/trunk/; revision=20949 --- 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 207b17fd4cab..3a25d574a723 100644 --- a/modules/system/activation/switch-to-configuration.sh +++ b/modules/system/activation/switch-to-configuration.sh @@ -105,7 +105,7 @@ EOF # Another hack: don't restart the X server (that would kill all the clients). # And don't restart dbus, since that causes ConsoleKit to # forget about current sessions. - if echo "$job" | grep -q "^shutdown$\|^control-alt-delete$\|^xserver$\|^dbus$"; then continue; fi + if echo "$job" | grep -q "^shutdown$\|^control-alt-delete$\|^xserver$\|^dbus$\|^disnix$"; then continue; fi if ! test -e "$oldJobs/$job.conf"; then echo "starting $job..."