From 81a67c01216e7355b8f374965cb1f3c260fe7999 Mon Sep 17 00:00:00 2001 From: glaszig Date: Tue, 30 Jul 2019 21:16:43 +0200 Subject: [PATCH] better filename --- includes/hostapd.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index 96426b5c..317642ab 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -655,8 +655,8 @@ function SaveHostAPDConfig($wpa_array, $enc_types, $modes, $interfaces, $status) $config.= 'interface='.$_POST['interface'].PHP_EOL; $config.= 'dhcp-range=10.3.141.50,10.3.141.255,255.255.255.0,12h'.PHP_EOL; } - file_put_contents("/tmp/dhcpddata", $config); - system('sudo cp /tmp/dhcpddata '.RASPI_DNSMASQ_CONFIG, $return); + file_put_contents("/tmp/dnsmasqdata", $config); + system('sudo cp /tmp/dnsmasqdata '.RASPI_DNSMASQ_CONFIG, $return); if ($wifiAPEnable == 1) { // Enable uap0 configuration in dhcpcd for Wifi client AP mode