diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-22 14:48:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-22 14:48:54 +0100 |
commit | 43f2f18848bc604723a1f8a94644f77ecb5d9fda (patch) | |
tree | 98f6475b5b7f2e724fb0d7da8dc1f81e0603e9c0 /package/base-files/src/usr | |
parent | 42d131eaa5aed0b8b03e7742894fc741927fc5f4 (diff) |
use temporary resolv.conf when using udhcp
Diffstat (limited to 'package/base-files/src/usr')
-rwxr-xr-x | package/base-files/src/usr/share/udhcpc/default.script | 2 |
1 files changed, 2 insertions, 0 deletions
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 |