aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/dbus/postinstall
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
commit46ca440e9d6cc606d9c3233021e32d24b25172cf (patch)
treeeeb573e47ac56498fbf74bda6d22fac47038ecab /repos/extra/dbus/postinstall
parent8c2e7bb570c11a51fdcecf7302af4058757d862c (diff)
downloadalicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.tar.gz
alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.zip
added repos
Diffstat (limited to 'repos/extra/dbus/postinstall')
-rwxr-xr-xrepos/extra/dbus/postinstall9
1 files changed, 9 insertions, 0 deletions
diff --git a/repos/extra/dbus/postinstall b/repos/extra/dbus/postinstall
new file mode 100755
index 00000000..5bb5e44b
--- /dev/null
+++ b/repos/extra/dbus/postinstall
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+getent group messagebus >/dev/null || addgroup -g 18 messagebus
+getent passwd messagebus >/dev/null || adduser -g messagebus -s /bin/false messagebus
+
+chown root:messagebus /usr/libexec/dbus-daemon-launch-helper
+chmod 4750 /usr/libexec/dbus-daemon-launch-helper
+
+dbus-uuidgen --ensure