summaryrefslogtreecommitdiffstats
path: root/extra/dbus/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 15:27:27 +0200
committertnut <tnut at nutyx dot com>2011-10-15 15:27:27 +0200
commita46d48a1930fad559a1ad26060267c94e6879bce (patch)
tree105fd6f1a0208502751e1b1c82e4605496be77ab /extra/dbus/post-install
parent4f09af50b39c8fe8d01cb8fd7d71d0342c7e2b57 (diff)
downloadnutyx-extra-a46d48a1930fad559a1ad26060267c94e6879bce.tar.gz
nutyx-extra-a46d48a1930fad559a1ad26060267c94e6879bce.tar.bz2
nutyx-extra-a46d48a1930fad559a1ad26060267c94e6879bce.tar.xz
nutyx-extra-a46d48a1930fad559a1ad26060267c94e6879bce.zip
dbus dans extra
Diffstat (limited to 'extra/dbus/post-install')
-rw-r--r--extra/dbus/post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/dbus/post-install b/extra/dbus/post-install
new file mode 100644
index 000000000..9f9715396
--- /dev/null
+++ b/extra/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
+