aboutsummaryrefslogtreecommitdiffstats
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
commit7fdc096dbd419b7ee94b2ce8e9c6e12e315da4d2 (patch)
treea1f793493e5aa37632c6998181786cd40e0893a3
parent67e73b4ebaf665222607095422a6759f2cf40c4a (diff)
downloadupstream-7fdc096dbd419b7ee94b2ce8e9c6e12e315da4d2.tar.gz
upstream-7fdc096dbd419b7ee94b2ce8e9c6e12e315da4d2.tar.bz2
upstream-7fdc096dbd419b7ee94b2ce8e9c6e12e315da4d2.zip
fix dnsmasq init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2151 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/dnsmasq/files/S50dnsmasq2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/dnsmasq/files/S50dnsmasq b/package/dnsmasq/files/S50dnsmasq
index c97096054d..e913b8be18 100755
--- a/package/dnsmasq/files/S50dnsmasq
+++ b/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