fix dnsmasq init script
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Oct 2005 19:42:58 +0000 (19:42 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Oct 2005 19:42:58 +0000 (19:42 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2151 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/dnsmasq/files/S50dnsmasq

index c970960..e913b8b 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