mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
14 lines
380 B
Bash
Executable File
14 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# blink 10 times to signal ready state
|
|
/root/pwnagotchi/scripts/blink.sh 10 &
|
|
|
|
# start a detached screen session with bettercap
|
|
if ifconfig | grep usb0 | grep RUNNING; then
|
|
sudo -H -u root /usr/bin/screen -dmS pwnagotchi -c /root/pwnagotchi/data/screenrc.manual
|
|
else
|
|
sudo -H -u root /usr/bin/screen -dmS pwnagotchi -c /root/pwnagotchi/data/screenrc.auto
|
|
fi
|
|
|
|
|