Просмотр исходного кода

include the network state in the dnsmasq init script. this makes it possible to run a dhcp server on dynamically assigned interfaces without hardcoding interface names

SVN-Revision: 7805
Felix Fietkau 18 лет назад
Родитель
Сommit
687b83af00
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      package/dnsmasq/files/dnsmasq.init

+ 1 - 0
package/dnsmasq/files/dnsmasq.init

@@ -58,6 +58,7 @@ dhcp_add() {
 start() {
 	include /lib/network
 	scan_interfaces
+	config_load /var/state/network
 	config_load dhcp
 
 	args=""