fix dnsmasq init script
[openwrt/svn-archive/archive.git] / openwrt / package / dnsmasq / files / S50dnsmasq
index c97096054d853fac241f4f8747f8274d785cce71..e913b8be18a318e62599334cfaeb63d45118431c 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 . /etc/functions.sh
+. /etc/network.overrides
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
 
 # interface to use for DHCP
 iface=lan