svn commit: r302149 - head/etc/defaults

Kurt Lidl lidl at FreeBSD.org
Thu Jun 23 19:37:01 UTC 2016


Author: lidl
Date: Thu Jun 23 19:37:00 2016
New Revision: 302149
URL: https://svnweb.freebsd.org/changeset/base/302149

Log:
  Add support for a /etc/defaults/vendor.conf override file
  
  Reviewed by:	stas, imp
  Approved by:	re (gjb)
  Differential Revision:	https://reviews.freebsd.org/D6895

Modified:
  head/etc/defaults/rc.conf

Modified: head/etc/defaults/rc.conf
==============================================================================
--- head/etc/defaults/rc.conf	Thu Jun 23 19:27:29 2016	(r302148)
+++ head/etc/defaults/rc.conf	Thu Jun 23 19:37:00 2016	(r302149)
@@ -741,3 +741,9 @@ if [ -z "${source_rc_confs_defined}" ]; 
 		done
 	}
 fi
+
+# Allow vendors to override FreeBSD defaults in /etc/default/rc.conf
+# without the need to carefully manage /etc/rc.conf.
+if [ -r /etc/defaults/vendor.conf ]; then
+	. /etc/defaults/vendor.conf
+fi


More information about the svn-src-head mailing list