summaryrefslogtreecommitdiff
path: root/package/base-files/src/usr/share/udhcpc/default.script
diff options
context:
space:
mode:
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
;;