From 873a8de2ad923bd5e41131a21cbd4598ac8be700 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 8 Jan 2007 21:25:06 +0000 Subject: [PATCH] * Don't emit ctrl-alt-delete. svn path=/nixos/trunk/; revision=7574 --- system/switch-to-configuration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/switch-to-configuration.sh b/system/switch-to-configuration.sh index b0c412e546a..c199b083263 100644 --- a/system/switch-to-configuration.sh +++ b/system/switch-to-configuration.sh @@ -71,8 +71,8 @@ if test "$action" = "switch" -o "$action" = "test"; then # Start all new services and restart all changed services. for event in $(cd $newEvents && ls); do - # Hack: skip the sys-* events. - if echo "$event" | grep -q "^sys-"; then continue; fi + # Hack: skip the sys-* and ctrl-alt-delete events. + if echo "$event" | grep -q "^sys-\|^ctrl-"; then continue; fi if ! test -e "$oldEvents/$event"; then echo "starting $event..."