This commit is contained in:
Your Name
2025-02-21 11:02:21 +01:00
parent cf9e373ea8
commit 105e439199
17 changed files with 477 additions and 12 deletions

View File

@@ -402,7 +402,7 @@ if ($type == "wifi_connect") {
$script_path = '/var/www/moduleair_pro_4g/connexion.sh';
$log_file = '/var/www/moduleair_pro_4g/logs/app.log';
shell_exec("$script_path $SSID $PASS >> $log_file 2>&1 &");
shell_exec("$script_path $SSID $PASS >> $log_file 2>&1 &"); #on passe ici en argument le nom du réseau WIFI et le Password
#$output = shell_exec('sudo nmcli connection down Hotspot');
#$output2 = shell_exec('sudo nmcli device wifi connect "AirLab" password "123plouf"');