shutdown.sh: make it work with dash; and check if we have enough perms.
services/dbus: run dbus-uuidgen --ensure to create /var/lib/machine-id.