summaryrefslogtreecommitdiff
path: root/core/dbus-core/dbus.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/dbus-core/dbus.install')
-rw-r--r--core/dbus-core/dbus.install6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/dbus-core/dbus.install b/core/dbus-core/dbus.install
index 88a568429..f1ffd61a8 100644
--- a/core/dbus-core/dbus.install
+++ b/core/dbus-core/dbus.install
@@ -2,12 +2,6 @@ post_install() {
getent group dbus >/dev/null || groupadd -g 81 dbus
getent passwd dbus >/dev/null || useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
passwd -l dbus &>/dev/null
-
- if [[ ! -L var/lib/dbus/machine-id ]]; then
- [[ -e var/lib/dbus/machine-id && ! -e etc/machine-id ]] && mv var/lib/dbus/machine-id etc/
- ln -sf ../../../etc/machine-id var/lib/dbus/
- fi
- dbus-uuidgen --ensure=etc/machine-id
}
post_upgrade() {