From 9b0b647aa9cd0c3da1d3875ac6fd2c53c601d5ce Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 25 Dec 2014 18:33:44 +0000 Subject: [PATCH] dhcp interfaces --- install-freedombone.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index b24dbbd1..769b2c57 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -7238,6 +7238,8 @@ function enable_wifi_hotspot { echo '}' >> /etc/dhcp/dhcpd.conf fi + sed -i "s/INTERFACES=.*/INTERFACES='$WIFI_INTERFACE'/g" /etc/default/isc-dhcp-server + service isc-dhcp-server restart if [ ! "$?" = "0" ]; then echo 'Unable to restart isc-dhcp-server'