svn commit: r271549 - head/release

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sat Sep 13 20:09:03 UTC 2014


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


More information about the svn-src-all mailing list