update
This commit is contained in:
@@ -226,8 +226,8 @@ if ($type == "wifi_connect") {
|
||||
|
||||
echo "You will be disconnected. If connection is successfull you can find the device on your local network.";
|
||||
|
||||
$script_path = __DIR__ . '/connexion.sh';
|
||||
$log_file = __DIR__ . '/logs/app.log';
|
||||
$script_path = '/var/www/nebuleair_pro_4g/connexion.sh';
|
||||
$log_file = '/var/www/nebuleair_pro_4g/logs/app.log';
|
||||
shell_exec("$script_path $SSID $PASS >> $log_file 2>&1 &");
|
||||
|
||||
#$output = shell_exec('sudo nmcli connection down Hotspot');
|
||||
@@ -301,4 +301,4 @@ if ($type == "wifi_scan_old") {
|
||||
|
||||
echo $json_data;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user