Fix forget WiFi: appel bash explicite + disconnect wlan0 avant delete
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1172,7 +1172,7 @@ if ($type == "wifi_forget") {
|
||||
// Launch forget script in background
|
||||
$script_path = '/var/www/nebuleair_pro_4g/forget_wifi.sh';
|
||||
$log_file = '/var/www/nebuleair_pro_4g/logs/app.log';
|
||||
shell_exec("$script_path >> $log_file 2>&1 &");
|
||||
shell_exec("bash $script_path >> $log_file 2>&1 &");
|
||||
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode([
|
||||
|
||||
Reference in New Issue
Block a user