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
This commit is contained in:
lidl 2016-06-23 19:37:00 +00:00
parent ab637d3a17
commit 5d697e7c81

View File

@ -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