Revert "Improve iface"

This reverts commit ef24bb2504554bf1a906bfe8a5f5db3d052495ee.
This commit is contained in:
Jesús 2020-05-28 07:35:33 -05:00
parent ef24bb2504
commit 656ce2b416
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -54,7 +54,7 @@ then
fi fi
# Check local ip address # Check local ip address
IPADDR=$(ip route get 4.2.2.1 | awk '{print $(NF-2);exit}') IPADDR=$(ip route get 4.2.2.1 | awk '{print $NF;exit}')
case $BLOCK_BUTTON in case $BLOCK_BUTTON in
3) echo -n "$IPADDR" | xclip -q -se c ;; 3) echo -n "$IPADDR" | xclip -q -se c ;;