* Don't restart the X server if the xserver job changes, as that would
kill the X clients. svn path=/nixos/trunk/; revision=8161
This commit is contained in:
parent
1a66b71e2d
commit
1a9f5e455e
@ -72,7 +72,8 @@ if test "$action" = "switch" -o "$action" = "test"; then
|
||||
for event in $(cd $newEvents && ls); do
|
||||
|
||||
# Hack: skip the sys-* and ctrl-alt-delete events.
|
||||
if echo "$event" | grep -q "^sys-\|^ctrl-"; then continue; fi
|
||||
# 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
|
||||
|
||||
if ! test -e "$oldEvents/$event"; then
|
||||
echo "starting $event..."
|
||||
|
Loading…
Reference in New Issue
Block a user