Disnix should also remain active during a switch

svn path=/nixos/trunk/; revision=20949
This commit is contained in:
Sander van der Burg 2010-04-05 20:35:08 +00:00
parent b904954793
commit 02e4a78c71

View file

@ -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..."