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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to