mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
parent
fb003a9e29
commit
6a01eed166
@ -131,9 +131,7 @@ function DisplayWPAConfig(){
|
|||||||
sleep(3);
|
sleep(3);
|
||||||
exec( 'sudo wpa_cli -i ' . RASPI_WIFI_CLIENT_INTERFACE . ' scan_results',$scan_return );
|
exec( 'sudo wpa_cli -i ' . RASPI_WIFI_CLIENT_INTERFACE . ' scan_results',$scan_return );
|
||||||
|
|
||||||
for( $shift = 0; $shift < 2; $shift++ ) {
|
array_shift($scan_return);
|
||||||
array_shift($scan_return);
|
|
||||||
}
|
|
||||||
|
|
||||||
// display output
|
// display output
|
||||||
foreach( $scan_return as $network ) {
|
foreach( $scan_return as $network ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user