summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-22 14:48:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-22 14:48:54 +0100
commit43f2f18848bc604723a1f8a94644f77ecb5d9fda (patch)
tree98f6475b5b7f2e724fb0d7da8dc1f81e0603e9c0 /package/base-files
parent42d131eaa5aed0b8b03e7742894fc741927fc5f4 (diff)
use temporary resolv.conf when using udhcp
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/usr/share/udhcpc/default.script2
2 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index cb6fea5f4..664db317b 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 40
+PKG_RELEASE:= 41
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
diff --git a/package/base-files/src/usr/share/udhcpc/default.script b/package/base-files/src/usr/share/udhcpc/default.script
index 68c603496..415bf92a4 100755
--- a/package/base-files/src/usr/share/udhcpc/default.script
+++ b/package/base-files/src/usr/share/udhcpc/default.script
@@ -23,6 +23,8 @@ case $1 in
done
fi
+ touch /tmp/resolv.conf
+ ln -sf /tmp/resolv.conf $RESOLV_CONF
echo -n >$RESOLV_CONF
${domain:+echo search $domain} >>$RESOLV_CONF
for i in $dns; do