Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137992750
D15689.id43409.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
857 B
Referenced Files
None
Subscribers
None
D15689.id43409.diff
View Options
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 sourced_files sourced_dirs
+
+ for i in ${rc_conf_dirs} ; do
+ for d in $(find ${i} -name f) ; do
+ sourced_files="${sourced_files}:$d:"
+ done
+ done
for i in ${rc_conf_files}; do
case ${sourced_files} in
*:$i:*)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 11:18 PM (4 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26307680
Default Alt Text
D15689.id43409.diff (857 B)
Attached To
Mode
D15689: Including rc_conf_directories to be loaded with rc(8)
Attached
Detach File
Event Timeline
Log In to Comment