mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Merge pull request #103 from universalism/master
FIX - wlan0 status doesn't contain RUNNING only UP
This commit is contained in:
commit
aa675ae12b
@ -44,7 +44,7 @@ function DisplayDashboard(){
|
||||
preg_match('/Frequency:(\d+.\d+ GHz)/i',$strWlan0,$result) || $result[1] = '';
|
||||
$strFrequency = $result[1];
|
||||
|
||||
if(strpos( $strWlan0, "UP" ) !== false && strpos( $strWlan0, "RUNNING" ) !== false ) {
|
||||
if(strpos( $strWlan0, "UP" ) !== false) { // && strpos( $strWlan0, "RUNNING" ) !== false ) {
|
||||
$status->addMessage('Interface is up', 'success');
|
||||
$wlan0up = true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user