Selaa lähdekoodia

dhcp interfaces

Bob Mottram 10 vuotta sitten
vanhempi
commit
9b0b647aa9
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh Näytä tiedosto

@@ -7238,6 +7238,8 @@ function enable_wifi_hotspot {
7238 7238
       echo '}' >> /etc/dhcp/dhcpd.conf
7239 7239
   fi
7240 7240
 
7241
+  sed -i "s/INTERFACES=.*/INTERFACES='$WIFI_INTERFACE'/g" /etc/default/isc-dhcp-server
7242
+
7241 7243
   service isc-dhcp-server restart
7242 7244
   if [ ! "$?" = "0" ]; then
7243 7245
       echo 'Unable to restart isc-dhcp-server'