diff --git a/roles/network/templates/network/iiab-hotspot-off b/roles/network/templates/network/iiab-hotspot-off index 5ceef7f18..00054812a 100755 --- a/roles/network/templates/network/iiab-hotspot-off +++ b/roles/network/templates/network/iiab-hotspot-off @@ -14,5 +14,6 @@ systemctl restart networking # https://github.com/iiab/iiab/issues/638#issuecomment-355455454 if grep -qi raspbian /etc/*release; then ip link set dev wlan0 promisc on - sed -i -e "s/hostapd_enabled.*/hostapd_enabled = False/" /etc/iiab/iiab.ini fi + +sed -i -e "s/hostapd_enabled.*/hostapd_enabled = False/" /etc/iiab/iiab.ini