Files
pwnagotchi/builder/data/usr/bin/pwnagotchi-launcher
Jeroen Oudshoorn c0040ddcde Edited README.md and others
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-23 10:36:39 +02:00

20 lines
353 B
Bash
Executable File

#!/usr/bin/env bash
source /usr/bin/pwnlib
# we need to decrypt something
if is_crypted_mode; then
while ! is_decrypted; do
echo "Waiting for decryption..."
sleep 1
done
fi
# blink 10 times to signal ready state
blink_led 10 &
if is_auto_mode; then
/usr/local/bin/pwnagotchi --debug
else
/usr/local/bin/pwnagotchi --manual --debug
fi