#!/bin/bash

if [ ! -f "/tmp/restarted-avahi" ]; then
    touch "/tmp/restarted-avahi"
    sleep 20
fi

systemctl restart avahi-daemon

