Kaynağa Gözat

dhcp interfaces

Bob Mottram 10 yıl önce
ebeveyn
işleme
9b0b647aa9
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh Dosyayı Görüntüle

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