Files
homeassistant-addons/cups/rootfs/etc/services.d/avahi/run
2022-12-18 20:17:16 +01:00

8 lines
211 B
Bash

#!/bin/sh
# Wait until D-Bus is up and the init script has mapped in the external hostname
until [ -e /var/run/dbus/system_bus_socket ] && [ -e /var/run/avahi_configured ]; do
sleep 1s
done
exec avahi-daemon