mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-25 18:40:20 -04:00
Merge pull request #252 from femtofox/new_working
make pulse run in background
This commit is contained in:
commit
4e2cecd20f
1 changed files with 3 additions and 1 deletions
|
|
@ -27,12 +27,14 @@ fi
|
|||
echo -e "\e[32m******* First boot *******\e[0m"
|
||||
|
||||
# pulse LED during firstboot
|
||||
while true; do
|
||||
(
|
||||
while true; do
|
||||
echo 1 > /sys/class/gpio/gpio34/value;
|
||||
sleep 0.5;
|
||||
echo 0 > /sys/class/gpio/gpio34/value;
|
||||
sleep 0.5;
|
||||
done
|
||||
) &
|
||||
|
||||
# Disable LED to prevent boot codes from showing during this boot
|
||||
#sh -c "echo 34 > /sys/class/gpio/unexport"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue