瀏覽代碼

dhcp interfaces

Bob Mottram 10 年之前
父節點
當前提交
9b0b647aa9
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh 查看文件

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