Date: Tue, 30 Sep 2014 16:36:50 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r272309 - stable/10/release Message-ID: <201409301636.s8UGaolq087922@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Tue Sep 30 16:36:50 2014 New Revision: 272309 URL: http://svnweb.freebsd.org/changeset/base/272309 Log: 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 Modified: stable/10/release/rc.local Directory Properties: stable/10/ (props changed) Modified: stable/10/release/rc.local ============================================================================== --- stable/10/release/rc.local Tue Sep 30 16:17:12 2014 (r272308) +++ stable/10/release/rc.local Tue Sep 30 16:36:50 2014 (r272309) @@ -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?201409301636.s8UGaolq087922>