summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-12 20:37:27 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-12 20:37:27 (EST)
commit701271854468d355e026b6078a0fe13a0a564787 (patch)
tree9540bbc5030cea7414996303dd7b39bafd75c387 /build
parent78c90ddf1599b74b894460b700e25416626746e5 (diff)
/etc/resolv.conf: Link to /var/run/resolv.conf
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index 7f0b8aa..e1b11ad 100755
--- a/build
+++ b/build
@@ -108,6 +108,8 @@ install: build
done <../network-hooks; \
fi; \
if config_enabled UDHCPC; then \
+ install -d -m 0755 dest/etc; \
+ ln -sf /var/run/resolv.conf dest/etc/resolv.conf; \
install -d -m 0755 dest/usr/share/udhcpc; \
install -p -m 0755 ../src.usr/share/udhcpc/default.script \
dest/usr/share/udhcpc/default.script; \