Update 99-run.sh

This commit is contained in:
Alexandre
2022-02-17 20:57:07 +01:00
committed by GitHub
parent c732c32537
commit a7e2005cc7

View File

@@ -2,7 +2,7 @@
# Autodefine if not defined
if [ -n INTERFACE_NAME ]; then
export INTERFACE_NAME=$(ip route get 8.8.8.8 | sed -nr 's/.*dev ([^\ ]+).*/\1/p')
export INTERFACE_NAME="$(ip route get 8.8.8.8 | sed -nr 's/.*dev ([^\ ]+).*/\1/p')"
bashio::log.blue "Autodetection : INTERFACE_NAME=$INTERFACE_NAME"
fi