mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-29 16:07:40 +01:00
4 lines
180 B
Plaintext
4 lines
180 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
echo "Starting service: avahi alias"
|
|
exec \
|
|
s6-setuidgid "$USER" "/bin/bash -c \"/usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' ' -f1)\"" |