summaryrefslogtreecommitdiff
path: root/package/dbus/files/dbus.postinst
blob: e924505972030bb556d07b704afabdbd50caedc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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_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
fi