mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
edited script somewhat
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -5,7 +5,7 @@ USB_IFACE=''
|
||||
USB_IP=${2:-10.0.0.1}
|
||||
|
||||
for i in $(ifconfig -lu); do
|
||||
if ifconfig $i | grep -q "${USB_IP}" ; then USB_IFACE=$i; fi;
|
||||
if ifconfig "$i" | grep -q "${USB_IP}" ; then USB_IFACE=$i; fi;
|
||||
done
|
||||
|
||||
if [ -z "$USB_IFACE" ]
|
||||
|
Reference in New Issue
Block a user