Date: Sat, 13 Sep 2014 20:09:02 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271549 - head/release Message-ID: <201409132009.s8DK922G019814@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Sat Sep 13 20:09:02 2014 New Revision: 271549 URL: http://svnweb.freebsd.org/changeset/base/271549 Log: 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 Modified: head/release/rc.local Modified: head/release/rc.local ============================================================================== --- head/release/rc.local Sat Sep 13 19:59:16 2014 (r271548) +++ head/release/rc.local Sat Sep 13 20:09:02 2014 (r271549) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409132009.s8DK922G019814>