summaryrefslogtreecommitdiffstats
path: root/extra/dbus/post-install
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-07-04 10:41:16 +0200
committersibel <lesibel at free dot fr>2010-07-04 10:41:16 +0200
commitac12a0b6b6fadfad3a5835de32d5e333d66b5b05 (patch)
tree852b950e2454bb1aed83d67a79eefb87b6165922 /extra/dbus/post-install
parente3190dcd03c43aae36a48cba9f108a2a25b78a7f (diff)
downloadnutyx-extra-ac12a0b6b6fadfad3a5835de32d5e333d66b5b05.tar.gz
nutyx-extra-ac12a0b6b6fadfad3a5835de32d5e333d66b5b05.tar.bz2
nutyx-extra-ac12a0b6b6fadfad3a5835de32d5e333d66b5b05.tar.xz
nutyx-extra-ac12a0b6b6fadfad3a5835de32d5e333d66b5b05.zip
ajout post-install a dbus
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
+