Fix regexp to determine xserver and dbus correctly

svn path=/nixos/trunk/; revision=11265
This commit is contained in:
Michael Raskin 2008-03-22 18:53:55 +00:00
parent 060533c8a1
commit 9ab654a6c4

View File

@ -73,7 +73,7 @@ if test "$action" = "switch" -o "$action" = "test"; then
# Hack: skip the sys-* and ctrl-alt-delete events.
# Another hack: don't restart the X server (that would kill all the clients).
if echo "$event" | grep -q "^sys-\|^ctrl-\|^xserver|^dbus"; then continue; fi
if echo "$event" | grep -q "^sys-\|^ctrl-\|^xserver\|^dbus"; then continue; fi
if ! test -e "$oldEvents/$event"; then
echo "starting $event..."