summaryrefslogtreecommitdiff
path: root/user/dbus/dbus.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/dbus/dbus.pre-install')
-rw-r--r--user/dbus/dbus.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/dbus/dbus.pre-install b/user/dbus/dbus.pre-install
new file mode 100644
index 000000000..889651721
--- /dev/null
+++ b/user/dbus/dbus.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S messagebus 2>/dev/null
+adduser -S -D -H -h /dev/null -s /sbin/nologin -G messagebus -g "D-Bus User" messagebus 2>/dev/null
+
+exit 0