summaryrefslogtreecommitdiff
path: root/package/dbus/files/dbus.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-20 17:42:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-25 01:49:36 +0100
commitb0f23d1e562e753cb78a473fdade956a25cc337b (patch)
treefe4a5908d1e39e24ec6df66052e866ed72421a79 /package/dbus/files/dbus.postinst
parent49a817b44be5695a87f6b4c8eadef3bb0f9419f9 (diff)
finalize systemd as alternative init system
Most important is the fix in patch-src_journal_journald-server_c, which breaks startup of systemd-journald when code is compiled with -DNDEBUG. A lot of base-files reorganizing to only install required files on sysv systems.
Diffstat (limited to 'package/dbus/files/dbus.postinst')
-rw-r--r--package/dbus/files/dbus.postinst10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/dbus/files/dbus.postinst b/package/dbus/files/dbus.postinst
index e92450597..0f3f9c6ae 100644
--- a/package/dbus/files/dbus.postinst
+++ b/package/dbus/files/dbus.postinst
@@ -1,12 +1,10 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
-add_group messagebus $gid
-add_user messagebus $(get_next_uid) $gid /var/run/dbus
+add_group dbus $gid
+add_user dbus $(get_next_uid) $gid /var/run/dbus
add_rcconf dbus NO
-echo Generating UUID
if [ -z $IPKG_INSTROOT ];then
- mkdir /lib/dbus /var/lib
- ln -sf /lib/dbus /var/lib/dbus
- dbus-uuidgen --ensure
+ echo Generating UUID
+ dbus-uuidgen --ensure
fi