1
0
Fork 0

Clean de la série

Rajout de la restauration de paquets dans le processus de sauvegarde
Fichier séparé
This commit is contained in:
trotFunky 2018-02-27 13:36:00 +01:00
parent b7a5d05c59
commit 414cf617ff
3 changed files with 29 additions and 0 deletions

View file

@ -2,6 +2,7 @@
function pythonGraph {
echo "DATAEND" >> "$3"
echo "" > /dev/ttyACM0
python3 /home/trotfunky/Programmation/Git/Python/extraction_asserv.py "$2" "$1"
exit
}
@ -30,6 +31,7 @@ while true; do
echo $line >> "$fileName"
case "$line" in
*"DATAEND"*)
echo "" > /dev/ttyACM0
break;;
esac
done