update
This commit is contained in:
0
html/assets/img/logoModuleAirColor_long.png
Normal file → Executable file
0
html/assets/img/logoModuleAirColor_long.png
Normal file → Executable file
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 233 KiB |
@@ -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"');
|
||||
|
||||
Reference in New Issue
Block a user