Update 99-run.sh

This commit is contained in:
Alexandre
2021-12-07 15:37:45 +01:00
committed by GitHub
parent 0c77776ee5
commit 21081441c7

View File

@@ -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
/usr/bin/python3 /opt/arpspoof/arpspoof.py