mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 01:48:16 +01:00
8 lines
223 B
Bash
8 lines
223 B
Bash
#!/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
|