dhcp interfaces

This commit is contained in:
Bob Mottram 2014-12-25 18:33:44 +00:00
parent e0f647104d
commit 9b0b647aa9
1 changed files with 2 additions and 0 deletions

View File

@ -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'