motd.sh - eth0 or wlan0 check
pazor opened this issue · comments
device=$(ip link | grep -q eth0 && echo eth0 || echo wlan0)
label5="$(extend "$(ip addr show $device | grep 'inet\b' | awk '{print $2}' | cut -d/ -f1)")"
Minera is a web interface to monitor and manage mining devices
pazor opened this issue · comments
device=$(ip link | grep -q eth0 && echo eth0 || echo wlan0)
label5="$(extend "$(ip addr show $device | grep 'inet\b' | awk '{print $2}' | cut -d/ -f1)")"