mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271549
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue