From 2cd342f180ae8c5195eba831eacedd707e0c4a88 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 10 Jan 2018 23:47:39 -0500 Subject: [PATCH] Update iiab-hotspot-off --- roles/network/templates/network/iiab-hotspot-off | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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