summaryrefslogtreecommitdiff
path: root/package/base-files/src/usr/share/udhcpc/default.script
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-24 10:14:06 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-24 10:14:06 +0100
commited6090a791ac0bd072ad557510948e961235cb56 (patch)
tree696466d65e1e01b693e2726d336dccefcc135b99 /package/base-files/src/usr/share/udhcpc/default.script
parent1b2e03fec9d95801923f45c09d484ee599cad564 (diff)
parent9e2fdf23756dc13ce89f0ca185a6223c02d3f14a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src/usr/share/udhcpc/default.script')
-rwxr-xr-xpackage/base-files/src/usr/share/udhcpc/default.script4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/base-files/src/usr/share/udhcpc/default.script b/package/base-files/src/usr/share/udhcpc/default.script
index 3744dfb09..55a6655ab 100755
--- a/package/base-files/src/usr/share/udhcpc/default.script
+++ b/package/base-files/src/usr/share/udhcpc/default.script
@@ -23,16 +23,12 @@ case $1 in
ip route add to default via $i
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
echo "adding dns $i"
echo "nameserver $i" >>$RESOLV_CONF
done
-
# user rules
[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user
;;