mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
avahi: Fix certain problems.
I've fixed certain problems reported on the bugtracker: * avahi user and group were missing. * Runtime dependency "dbus" added. * Fixed wrong localstatedir. * Program was not killed correctly by initscript. Fixes #10338.
This commit is contained in:
@@ -22,6 +22,13 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
# Create Username and group.
|
||||
getent group avahi >/dev/null || groupadd -r avahi
|
||||
getent passwd avahi >/dev/null || \
|
||||
useradd -r -g avahi -d /var/run/avahi-daemon -s /sbin/nologin \
|
||||
-c "Avahi mDNS daemon" avahi
|
||||
|
||||
extract_files
|
||||
ln -svf ../init.d/avahi /etc/rc.d/rc3.d/S65avahi
|
||||
ln -svf ../init.d/avahi /etc/rc.d/rc0.d/K35avahi
|
||||
|
||||
Reference in New Issue
Block a user