From 5d697e7c812c904333f7baac06c0cddd0ad1263b Mon Sep 17 00:00:00 2001 From: lidl Date: Thu, 23 Jun 2016 19:37:00 +0000 Subject: [PATCH] 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 --- etc/defaults/rc.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 61bffc86ccbd..32e75f67f43b 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -741,3 +741,9 @@ if [ -z "${source_rc_confs_defined}" ]; then 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