Commit 65577c6e7c4671648a0ad8f2f85074e668b5afbb
1 parent
838d55c3
MAJ
Showing
6 changed files
with
7 additions
and
5 deletions
Show diff stats
Ansible/MainTask.retry deleted
... | ... | @@ -1 +0,0 @@ |
1 | -172.26.145.111 |
Ansible/ansible.cfg
Ansible/roles/arduino_Setup/tasks/main.yml
site/add.php
... | ... | @@ -40,11 +40,15 @@ session_start(); |
40 | 40 | { |
41 | 41 | $ini = $nucleo; |
42 | 42 | } |
43 | + | |
43 | 44 | $numero = getNumero($_POST['nom']); |
44 | 45 | $ini = $ini.$_POST['raspberry']." capteur=".$numero."-".$_POST['version']." setup=".$setup."\n"; |
45 | 46 | file_put_contents('upload/inventaire.ini', $ini); |
46 | 47 | setup($_POST['raspberry']); |
47 | - exec("super cmd.sh"); | |
48 | + | |
49 | + $temps = getTime($_POST['type']); | |
50 | + | |
51 | + exec("super cmd.sh"); | |
48 | 52 | ?> |
49 | 53 | <div class="alert alert-success" role="alert"> |
50 | 54 | Le capteur a bien été ajouté ! | ... | ... |
No preview for this file type
site/upload/inventaire.ini