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
MFC after:	3 days
This commit is contained in:
Nathan Whitehorn 2014-09-13 20:09:02 +00:00
parent d6c7df9860
commit 013713e765

View File

@ -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