mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Added todo for restarting hostapd
This commit is contained in:
parent
12a0675cad
commit
8a41731513
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ function DisplayHostAPDConfig()
|
||||||
//exec('sudo /etc/raspap/hostapd/servicesdisable.sh');
|
//exec('sudo /etc/raspap/hostapd/servicesdisable.sh');
|
||||||
exec('sudo /etc/raspap/hostapd/servicestart.sh', $return );
|
exec('sudo /etc/raspap/hostapd/servicestart.sh', $return );
|
||||||
} else {
|
} else {
|
||||||
|
// Todo: remove uap0 interface before switching back to wlan0, else IAID conflict with dhcpcd
|
||||||
|
// Stop/start dhcpd.service
|
||||||
exec( 'sudo /etc/init.d/hostapd start', $return );
|
exec( 'sudo /etc/init.d/hostapd start', $return );
|
||||||
}
|
}
|
||||||
foreach( $return as $line ) {
|
foreach( $return as $line ) {
|
||||||
|
|
Loading…
Reference in a new issue