From a7e2005cc7aa96a6e4df5d6347ce8147247be9d1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 17 Feb 2022 20:57:07 +0100 Subject: [PATCH] Update 99-run.sh --- arpspoof/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arpspoof/rootfs/etc/cont-init.d/99-run.sh b/arpspoof/rootfs/etc/cont-init.d/99-run.sh index 1e1e35545..e8068f2e0 100644 --- a/arpspoof/rootfs/etc/cont-init.d/99-run.sh +++ b/arpspoof/rootfs/etc/cont-init.d/99-run.sh @@ -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