15 lines
180 B
Bash
15 lines
180 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
#
|
||
|
# Démon pour jouer avec le feux piétong
|
||
|
#####
|
||
|
|
||
|
while(true);
|
||
|
do
|
||
|
for i in `seq 1 3`
|
||
|
do
|
||
|
sleep 200
|
||
|
mosquitto_pub -h sonic -t "piedthon/input" -m "$i"
|
||
|
done
|
||
|
done
|