pazor opened this issue 5 years ago · 0 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)")"