aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/usr
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-12 17:02:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-12 17:02:34 +0000
commitbd871924307e5f04fdb6f490fb143bdabd34309e (patch)
tree92bf5bceb252334085ffc61a9ece288e84bc89a4 /package/base-files/files/usr
parent8a62330b65daaeb24c1a367c3df8028d2acfb9ab (diff)
downloadmaster-187ad058-bd871924307e5f04fdb6f490fb143bdabd34309e.tar.gz
master-187ad058-bd871924307e5f04fdb6f490fb143bdabd34309e.tar.bz2
master-187ad058-bd871924307e5f04fdb6f490fb143bdabd34309e.zip
fix a few issues with dynamically assigned interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8765 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/usr')
-rwxr-xr-xpackage/base-files/files/usr/share/udhcpc/default.script1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script
index 7ce3d2aa89..30e84e6da2 100755
--- a/package/base-files/files/usr/share/udhcpc/default.script
+++ b/package/base-files/files/usr/share/udhcpc/default.script
@@ -7,6 +7,7 @@ RESOLV_CONF="/tmp/resolv.conf.auto"
hotplug_event() {
scan_interfaces
+ config_load /var/state/network
for ifc in $interfaces; do
config_get ifname $ifc ifname
[ "$ifname" = "$interface" ] || continue