* switch-to-configuration.sh: Signal dbus to reload its configuration.
svn path=/nixos/trunk/; revision=22718
This commit is contained in:
parent
88a400f578
commit
21e62884e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user