diff --git a/arpspoof/rootfs/scripts/99-run.sh b/arpspoof/rootfs/scripts/99-run.sh index 58a8ddd23..0a0c77d51 100644 --- a/arpspoof/rootfs/scripts/99-run.sh +++ b/arpspoof/rootfs/scripts/99-run.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bashio +INTERFACE_NAME=$(ip route get 8.8.8.8 | sed -nr 's/.*dev ([^\ ]+).*/\1/p') +bashio::log.blue "INTERFACE_NAME=$INTERFACE_NAME" + bashio::log.info "Starting..." -/usr/bin/python3 /opt/arpspoof/arpspoof.py \ No newline at end of file +/usr/bin/python3 /opt/arpspoof/arpspoof.py