mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
bugfix
This commit is contained in:
parent
7d98d12e3b
commit
b012bae759
@ -660,13 +660,13 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status)
|
||||
|
||||
if ($wifiAPEnable == 1) {
|
||||
// Enable uap0 configuration in dhcpcd for Wifi client AP mode
|
||||
$config.= PHP_EOL.'# RaspAP uap0 configuration'.PHP_EOL;
|
||||
$config = PHP_EOL.'# RaspAP uap0 configuration'.PHP_EOL;
|
||||
$config.= 'interface=uap0'.PHP_EOL;
|
||||
$config.= 'static ip_address=192.168.50.1/24'.PHP_EOL;
|
||||
$config.= 'nohook wpa_supplicant'.PHP_EOL;
|
||||
} else {
|
||||
// Default config
|
||||
$config.= '# RaspAP wlan0 configuration'.PHP_EOL;
|
||||
$config = '# RaspAP wlan0 configuration'.PHP_EOL;
|
||||
$config.= 'hostname'.PHP_EOL;
|
||||
$config.= 'clientid'.PHP_EOL;
|
||||
$config.= 'persistent'.PHP_EOL;
|
||||
|
Loading…
Reference in New Issue
Block a user