* Don't restart udevtrigger from the switch script. It's triggered by

udev.

svn path=/nixos/trunk/; revision=29962
This commit is contained in:
Eelco Dolstra 2011-10-21 16:22:38 +00:00
parent b5baad31d2
commit 9076456b15

View file

@ -114,7 +114,7 @@ EOF
# Xen domains unless we have to.
# TODO: Jobs should be able to declare that they should not be
# auto-restarted.
if echo "$job" | grep -q "^shutdown$\|^control-alt-delete$\|^xserver$\|^dbus$\|^disnix$\|^emergency-shell$\|^xendomains$"; then continue; fi
if echo "$job" | grep -q "^shutdown$\|^control-alt-delete$\|^xserver$\|^dbus$\|^disnix$\|^emergency-shell$\|^xendomains$\|^udevtrigger$"; then continue; fi
if ! test -e "$oldJobs/$job.conf"; then
echo "starting $job..."