Allow to configure services from ${LOCALBASE}/etc/rc.conf.d
Reviewed by: bdrewery MFC after: 1 week Relnotes: yes
This commit is contained in:
parent
24ed0a5759
commit
0dba3159e1
@ -1301,6 +1301,10 @@ load_rc_config()
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if [ -f ${LOCALBASE:-/usr/local}/etc/rc.conf.d/"$_name" ]; then
|
||||
debug "Sourcing ${LOCALBASE:-/usr/local}/etc/rc.conf.d/${_name}"
|
||||
. ${LOCALBASE:-/usr/local}/etc/rc.conf.d/"$_name"
|
||||
fi
|
||||
|
||||
# Set defaults if defined.
|
||||
for _var in $rcvar; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user