summaryrefslogtreecommitdiffstats
path: root/dbus/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/post-install')
-rw-r--r--dbus/post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbus/post-install b/dbus/post-install
new file mode 100644
index 000000000..9f9715396
--- /dev/null
+++ b/dbus/post-install
@@ -0,0 +1,5 @@
+# getent group dbus >/dev/null || usr/sbin/groupadd -g 81 dbus
+# getent passwd dbus >/dev/null || usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
+usr/bin/passwd -l dbus &>/dev/null
+dbus-uuidgen --ensure
+