mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Merge branch 'master' of https://github.com/SirLagz/raspap-webgui
This commit is contained in:
@@ -151,7 +151,7 @@ function DisplayWPAConfig(){
|
||||
<p><?php $status->showMessages(); ?></p>
|
||||
<h4>Client settings</h4>
|
||||
<div class="btn-group btn-block">
|
||||
<a href=".?<?php echo $_SERVER['QUERY_STRING']; ?>" style="padding:10px;float: right;display: block;position: relative;margin-top: -55px;" class="col-md-6-btn btn-info" id="update">Rescan</a>
|
||||
<a href=".?<?php echo $_SERVER['QUERY_STRING']; ?>" style="padding:10px;float: right;display: block;position: relative;margin-top: -55px;" class="col-md-2 btn btn-info" id="update">Rescan</a>
|
||||
</div>
|
||||
<form method="POST" action="?page=wpa_conf" name="wpa_conf_form">
|
||||
<?php CSRFToken() ?>
|
||||
|
@@ -68,6 +68,7 @@ function DisplayDashboard(){
|
||||
exec( 'ifconfig wlan0 | grep -i running | wc -l',$test );
|
||||
if($test[0] == 0) {
|
||||
exec( 'sudo ip link set wlan0 up',$return );
|
||||
exec( 'sudo ip -s a f label wlan0',$return);
|
||||
} else {
|
||||
echo 'Interface already up';
|
||||
}
|
||||
|
Reference in New Issue
Block a user