11 lines
379 B
Bash
11 lines
379 B
Bash
#!/bin/sh
|
|
set -o pipefail
|
|
if [ ! -f /etc/machine-id ] ; then
|
|
dbus-uuidgen --ensure=/etc/machine-id
|
|
fi
|
|
if busybox ls /usr/libexec/dbus-daemon-launch-helper -la | grep "^...s" >/dev/null ; then
|
|
chmod 4755 /usr/libexec/dbus-daemon-launch-helper
|
|
fi
|
|
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
|
|
org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :
|