rc scripts: use common library source

This commit is contained in:
bergware
2023-06-03 12:13:12 +02:00
parent af4cc5b89d
commit f2960f1630

View File

@@ -48,8 +48,8 @@ avahid_start() {
# bind avahi service
if check; then
[[ -n $bind ]] && allow $bind || allow br0
[[ $ipv4 == yes ]] && enable ipv4 || disable ipv4
[[ $ipv6 == yes ]] && enable ipv6 || disable ipv6
[[ $ipv4 == no ]] && disable ipv4 || enable ipv4
[[ $ipv6 == no ]] && disable ipv6 || enable ipv6
fi
else
# default interface with no configuration