Fix duplicated bashio::network.enabled() function (#152)

This commit is contained in:
hrzlgnm 2024-01-17 08:24:43 +01:00 committed by GitHub
parent f3bd57130c
commit dc3e044064
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -164,7 +164,7 @@ function bashio::network.enabled() {
# Arguments: # Arguments:
# $1 Interface name for this operation (optional) # $1 Interface name for this operation (optional)
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
function bashio::network.enabled() { function bashio::network.connected() {
local interface=${1:-'default'} local interface=${1:-'default'}
bashio::log.trace "${FUNCNAME[0]}" bashio::log.trace "${FUNCNAME[0]}"