fix dnsmasq init script
authorFelix Fietkau <nbd@openwrt.org>
Mon, 17 Oct 2005 19:42:58 +0000 (19:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 17 Oct 2005 19:42:58 +0000 (19:42 +0000)
SVN-Revision: 2151

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