summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-10-17 19:42:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-10-17 19:42:58 +0000
commit810bcd046033f18692ff3b8a9aa3db37fc43d598 (patch)
tree308bc5707cd245e552ead6db60ac4133aaa38dfd /openwrt
parent10e84d17e8d03ccd20a5037aa18177121bc54a57 (diff)
downloadmtk-20170518-810bcd046033f18692ff3b8a9aa3db37fc43d598.zip
mtk-20170518-810bcd046033f18692ff3b8a9aa3db37fc43d598.tar.gz
mtk-20170518-810bcd046033f18692ff3b8a9aa3db37fc43d598.tar.bz2
fix dnsmasq init script
SVN-Revision: 2151
Diffstat (limited to 'openwrt')
-rwxr-xr-xopenwrt/package/dnsmasq/files/S50dnsmasq2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/dnsmasq/files/S50dnsmasq b/openwrt/package/dnsmasq/files/S50dnsmasq
index c970960..e913b8b 100755
--- a/openwrt/package/dnsmasq/files/S50dnsmasq
+++ b/openwrt/package/dnsmasq/files/S50dnsmasq
@@ -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