This commit is contained in:
Your Name
2025-11-03 18:59:09 +01:00
parent 5cf37c3cee
commit 26ee893a96

View File

@@ -15,19 +15,8 @@ echo "NebuleAir pro started at $(date)"
chmod -R 777 /var/www/nebuleair_pro_4g/
# Blink GPIO 23 and 24 five times
for i in {1..5}; do
# Turn GPIO 23 and 24 ON
gpioset gpiochip0 23=1
gpioset gpiochip0 24=1 #echo "LEDs ON"
sleep 1
# Turn GPIO 23 and 24 OFF
gpioset gpiochip0 23=0
gpioset gpiochip0 24=0
#echo "LEDs OFF"
sleep 1
done
# Blink GPIO 23 and 24 five times (starts OFF, stays OFF at end)
gpioset -c gpiochip0 -t 1s,1s,1s,1s,1s,1s,1s,1s,1s,1s,0 23=0 24=0
echo "getting RPI serial number"
# Get the last 8 characters of the serial number and write to text file