This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
Allo-GG
Watch
3
Star
2
Fork
0
Code
Issues
9
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
clignottement lors de la verification des services
master
heuzef
5 years ago
parent
3f42223bad
commit
202b44204c
2 changed files
with
3 additions
and
14 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-14
scripts/blink_green.sh
+3
-0
scripts/check_services.sh
+ 0
- 14
scripts/blink_green.sh
View File
@@ -1,14 +0,0 @@
#!/bin/bash
# Allo-GG
# Blink LED VERTE
for i in {1..10}
do
sleep 1
# ON
/usr/local/bin/gpio -g write 18 0
sleep 1
# OFF
/usr/local/bin/gpio -g write 18 1
done
+ 3
- 0
scripts/check_services.sh
View File
@@ -7,6 +7,9 @@ date
echo "********************"
echo
# BLINK for 10 sec
timeout 10 /usr/local/bin/gpio -g blink 18 &
# HORLOGE
if timedatectl status | grep -q 'Time zone: Europe/Paris (CEST, +0200)'
then
Write
Preview
Loading…
Cancel
Save