From: Lorenzo Santina Date: Sat, 9 Sep 2017 14:40:57 +0000 (+0200) Subject: hostapd: fix iapp_interface option X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=082e6215b7cc5c823d6b0254de45420209ad68b1;p=librecmc%2Flibrecmc.git hostapd: fix iapp_interface option ifname variable were not assigned due to syntax error causing the hostapd config file to have an empty iapp_interface= option Signed-off-by: Lorenzo Santina --- diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 32c09c647b..57d74d8a79 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -364,7 +364,7 @@ hostapd_set_bss_options() { [ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N" [ -n "$iapp_interface" ] && { local ifname - network_get_device ifname "$iapp_interface" || ifname = "$iapp_interface" + network_get_device ifname "$iapp_interface" || ifname="$iapp_interface" append bss_conf "iapp_interface=$ifname" "$N" }