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
       echo '}' >> /etc/dhcp/dhcpd.conf
7238
       echo '}' >> /etc/dhcp/dhcpd.conf
7239
   fi
7239
   fi
7240
 
7240
 
7241
+  sed -i "s/INTERFACES=.*/INTERFACES='$WIFI_INTERFACE'/g" /etc/default/isc-dhcp-server
7242
+
7241
   service isc-dhcp-server restart
7243
   service isc-dhcp-server restart
7242
   if [ ! "$?" = "0" ]; then
7244
   if [ ! "$?" = "0" ]; then
7243
       echo 'Unable to restart isc-dhcp-server'
7245
       echo 'Unable to restart isc-dhcp-server'