pwnagotchi/builder/data/usr/bin/pwnagotchi-launcher

20 lines
337 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
source /usr/bin/pwnlib
2020-04-03 19:01:40 +02:00
# 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
else
/usr/local/bin/pwnagotchi --manual
2020-04-03 19:01:40 +02:00
fi