diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-23 14:39:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-23 14:39:23 +0100 |
commit | abd0278a027d7d415db96330ff12bbf2dfd16f9f (patch) | |
tree | f382f389965b66acb73809898ec9ebda5f7800a6 /package/base-files/src/usr | |
parent | 50da6fbbe3aad59e6ad6350f1bf3b7c52ed180a0 (diff) |
fix dhcp client, when root is ro without cfgfs, simplify ipkg tmpdir stuff
Diffstat (limited to 'package/base-files/src/usr')
-rwxr-xr-x | package/base-files/src/usr/share/udhcpc/default.script | 4 |
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 ;; |