summaryrefslogtreecommitdiff
path: root/package/dbus/files/dbus.postinst
blob: 0f3f9c6aee14a231f83755ed023b99920ec9dba5 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
add_group dbus $gid
add_user dbus $(get_next_uid) $gid /var/run/dbus
add_rcconf dbus NO
if [ -z $IPKG_INSTROOT ];then 
  echo Generating UUID
  dbus-uuidgen --ensure
fi