diff --git a/exec.php b/exec.php index f75a485..4f521f7 100755 --- a/exec.php +++ b/exec.php @@ -1,10 +1,13 @@
"; - if (isset($_POST["button"]) { - $resultat = system("sudo python /var/www/cgi-bin/main.py"); + if (isset($_POST["button"])) { + $resultat = system("sudo python /var/www/cgi-bin/thread_dd.py"); } - if (isset($_POST["live"]) { + if (isset($_POST["live"])) { $resultat = system("sudo python /var/www/cgi-bin/live.py"); } + if (isset($_POST["modem"])) { + $resultat = system("sudo ../cgi-bin/test_modem.sh"); + } echo "