From 66ed63c662b2ce6fe1f09880fbcead35430460a1 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 27 Dec 2017 13:33:26 -0500 Subject: [PATCH 1/2] minor fix to regexp --- roles/network/templates/network/iiab-hotspot-off | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/templates/network/iiab-hotspot-off b/roles/network/templates/network/iiab-hotspot-off index 3f187a21e..d14cc6038 100755 --- a/roles/network/templates/network/iiab-hotspot-off +++ b/roles/network/templates/network/iiab-hotspot-off @@ -1,5 +1,5 @@ #!/bin/bash -sed -i -e "s/^denyinterfaces*/#denyinterfaces/" /etc/dhcpcd.conf +sed -i -e "s/^denyinterfaces/#denyinterfaces/" /etc/dhcpcd.conf systemctl disable hostapd systemctl stop hostapd systemctl disable dhcpd From cde6430ce10e2727ddb1db8b36c5724bd9845bbb Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 27 Dec 2017 13:34:09 -0500 Subject: [PATCH 2/2] 2 minor fixes to regexp --- roles/network/templates/network/iiab-hotspot-on | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/templates/network/iiab-hotspot-on b/roles/network/templates/network/iiab-hotspot-on index 7ab35962a..d34ce438a 100755 --- a/roles/network/templates/network/iiab-hotspot-on +++ b/roles/network/templates/network/iiab-hotspot-on @@ -1,6 +1,6 @@ #!/bin/bash cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf -sed -i -e "s/#denyinterfaces*/denyinterfaces/" /etc/dhcpcd.conf +sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf systemctl enable hostapd systemctl enable dhcpd systemctl daemon-reload