summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-09-30 16:36:50 +0000
committeremaste <emaste@FreeBSD.org>2014-09-30 16:36:50 +0000
commit618d8006d27a8673d0df01ba900fe9b83c1ea046 (patch)
treeb3440ec796e4abbf66c9f98d8d9763d47fde8ad0 /release
parent10f6e5e9ccf3801cab19a16a4f97eb268b76d97f (diff)
downloadFreeBSD-src-618d8006d27a8673d0df01ba900fe9b83c1ea046.zip
FreeBSD-src-618d8006d27a8673d0df01ba900fe9b83c1ea046.tar.gz
MFC r271549 (nwhitehorn):
Create /tmp/bsdinstall_etc even if we aren't starting the installer so that dhclient can write resolv.conf when used from the live environment. PR: 176078 Approved by: re
Diffstat (limited to 'release')
-rwxr-xr-xrelease/rc.local3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/rc.local b/release/rc.local
index 2c846c4..cb44227 100755
--- a/release/rc.local
+++ b/release/rc.local
@@ -10,6 +10,9 @@
MACHINE=`uname -m`
+# resolv.conf from DHCP ends up in here, so make sure the directory exists
+mkdir /tmp/bsdinstall_etc
+
kbdcontrol -d >/dev/null 2>&1
if [ $? -eq 0 ]; then
# Syscons: use xterm, start interesting things on other VTYs
OpenPOWER on IntegriCloud