mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fix: builder now uses files provisioners and auto-update installs project data (ref #470)
This commit is contained in:
10
builder/data/usr/bin/bootblink
Executable file
10
builder/data/usr/bin/bootblink
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
for i in $(seq 1 "$1");
|
||||
do
|
||||
echo 0 >/sys/class/leds/led0/brightness
|
||||
sleep 0.3
|
||||
echo 1 >/sys/class/leds/led0/brightness
|
||||
sleep 0.3
|
||||
done
|
||||
echo 0 >/sys/class/leds/led0/brightness
|
||||
sleep 0.3
|
Reference in New Issue
Block a user