This commit is contained in:
billz 2019-03-12 00:11:29 +00:00
parent 7d98d12e3b
commit b012bae759
1 changed files with 2 additions and 2 deletions

View File

@ -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;