Page MenuHomeFreeBSD

D15689.1775647190.diff
No OneTemporary

Size
846 B
Referenced Files
None
Subscribers
None

D15689.1775647190.diff

Index: etc/defaults/rc.conf
===================================================================
--- etc/defaults/rc.conf
+++ etc/defaults/rc.conf
@@ -60,6 +60,7 @@
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" " # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
+rc_conf_dirs="/etc/rc.conf.d"
# ZFS support
zfs_enable="NO" # Set to YES to automatically mount ZFS file systems
@@ -707,7 +708,13 @@
if [ -z "${source_rc_confs_defined}" ]; then
source_rc_confs_defined=yes
source_rc_confs() {
- local i sourced_files
+ local i d sourced_files
+
+ for i in ${rc_conf_dirs} ; do
+ for d in $(find ${i} -type f) ; do
+ sourced_files="${sourced_files}:$d:"
+ done
+ done
for i in ${rc_conf_files}; do
case ${sourced_files} in
*:$i:*)

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 8, 11:19 AM (18 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28300814
Default Alt Text
D15689.1775647190.diff (846 B)

Event Timeline