mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Update shell cmd used in reinitializeWPA
This commit is contained in:
parent
bb23dc79f6
commit
d56870e2db
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ function reinitializeWPA($force)
|
||||||
$cmd = "sudo /bin/rm /var/run/wpa_supplicant/$iface";
|
$cmd = "sudo /bin/rm /var/run/wpa_supplicant/$iface";
|
||||||
$result = shell_exec($cmd);
|
$result = shell_exec($cmd);
|
||||||
}
|
}
|
||||||
$cmd = "sudo wpa_cli -i $iface reconfigure";
|
$cmd = "sudo wpa_supplicant -B -Dnl80211 -c/etc/wpa_supplicant/wpa_supplicant.conf -i$iface";
|
||||||
$result = shell_exec($cmd);
|
$result = shell_exec($cmd);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Reference in a new issue