#!/bin/bash hvconfig_pre() { groupadd --system -f messagebus hv_useradd --system -c D-BUS-Message-Daemon-User -d /dev/null \ -g messagebus -s /bin/false messagebus CONFIGURE_OPTS+=" \ --localstatedir=/var \ --disable-doxygen-docs \ --disable-static \ --disable-systemd \ --without-systemdsystemunitdir \ --with-console-auth-dir=/run/console/" } hvbuild_post() { # Bootscript install -v -m740 ${SCRDIR}/bootscripts/dbus /etc/rc.d/init.d # script-name start stop bootscript_add_rc3 dbus 92 20 # Generate D-Bus UUID to avoid warnings when compiling some packages # without dbus running (without this, VLC was giving an error). dbus-uuidgen > /var/lib/dbus/machine-id }