* switch-to-configuration.sh: Signal dbus to reload its configuration.

svn path=/nixos/trunk/; revision=22718
This commit is contained in:
Eelco Dolstra 2010-07-23 10:52:51 +00:00
parent 88a400f578
commit 21e62884e7

View File

@ -121,4 +121,9 @@ EOF
initctl start "$job" || true
fi
done
# Signal dbus to reload its configuration.
dbusPid=$(initctl status dbus 2> /dev/null | sed -e 's/.*process \([0-9]\+\)/\1/;t;d')
[ -n "$dbusPid" ] && kill -HUP "$dbusPid"
fi