mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# start mon0
|
||||
/usr/bin/monstart
|
||||
|
||||
# if usb0 or eth0 are up
|
||||
if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ !$(grep '1' /sys/class/net/eth0/carrier) ]]; then
|
||||
# if override file exists, go into auto mode
|
||||
if [ -f /root/.pwnagotchi-auto ]; then
|
||||
|
Reference in New Issue
Block a user