Merge pull request #958 from balena-io/957-remove-default-avahi-services

avahi: Remove default service definitions
This commit is contained in:
Heds Simons 2019-04-05 14:17:47 +01:00 committed by GitHub
commit 795d72f1b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,9 @@
set -o errexit set -o errexit
# Start Avahi to allow MDNS lookups # Start Avahi to allow MDNS lookups and remove
# any pre-defined services
rm -f /etc/avahi/services/*
mkdir -p /var/run/dbus mkdir -p /var/run/dbus
rm -f /var/run/avahi-daemon/pid rm -f /var/run/avahi-daemon/pid
rm -f /var/run/dbus/pid rm -f /var/run/dbus/pid