* Don't restart dbus, since that causes ConsoleKit to forget about

current sessions.

svn path=/nixos/trunk/; revision=17452
This commit is contained in:
Eelco Dolstra 2009-09-26 21:00:47 +00:00
parent 17d0b83eef
commit c5d45514a1

View File

@ -85,7 +85,9 @@ EOF
# Hack: skip the sys-* and ctrl-alt-delete events. # Hack: skip the sys-* and ctrl-alt-delete events.
# Another hack: don't restart the X server (that would kill all the clients). # Another hack: don't restart the X server (that would kill all the clients).
if echo "$event" | grep -q "^sys-\|^ctrl-\|^xserver"; then continue; fi # And don't restart dbus, since that causes ConsoleKit to
# forget about current sessions.
if echo "$event" | grep -q "^sys-\|^ctrl-\|^xserver$\|^dbus$"; then continue; fi
if ! test -e "$oldEvents/$event"; then if ! test -e "$oldEvents/$event"; then
echo "starting $event..." echo "starting $event..."