mirror of
https://github.com/unraid/webgui.git
synced 2026-01-10 03:30:03 -06:00
rc.library correction for avahi service
This commit is contained in:
@@ -141,6 +141,7 @@ check() {
|
||||
net=($net)
|
||||
if [[ "avahi show" =~ $CALLER ]]; then
|
||||
[[ -n $net ]] && bind+=($net)
|
||||
[[ -n ${net[1]} ]] && ipv4=yes
|
||||
else
|
||||
[[ -n ${net[1]} ]] && ipv4=yes bind+=($(sub ${net[1]}))
|
||||
fi
|
||||
@@ -150,6 +151,7 @@ check() {
|
||||
net=($net)
|
||||
if [[ "avahi show" =~ $CALLER ]]; then
|
||||
[[ -n $net && -z $(good $net) ]] && bind+=($net)
|
||||
[[ -n ${net[1]} ]] && ipv6=yes
|
||||
else
|
||||
[[ -n ${net[1]} ]] && ipv6=yes bind+=($(sub ${net[1]}))
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user