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:
parent
d6c7df9860
commit
013713e765
@ -10,6 +10,9 @@
|
|||||||
|
|
||||||
MACHINE=`uname -m`
|
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
|
kbdcontrol -d >/dev/null 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
# Syscons: use xterm, start interesting things on other VTYs
|
# Syscons: use xterm, start interesting things on other VTYs
|
||||||
|
Loading…
Reference in New Issue
Block a user