/etc/rc.subr: rename sysctl.conf.d to sysctl.kld.d
This better reflects the intent that this directory is indexed by kld name and removes a conflict with D32128 which aims to split sysctl.conf. Reviewed by: kevans imp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D41043
This commit is contained in:
+2
-2
@@ -1970,8 +1970,8 @@ load_kld()
|
||||
return 1
|
||||
else
|
||||
info "$1 kernel module loaded."
|
||||
if [ -f "/etc/sysctl.conf.d/$1.conf" ]; then
|
||||
sysctl -f "/etc/sysctl.conf.d/$1.conf"
|
||||
if [ -f "/etc/sysctl.kld.d/$1.conf" ]; then
|
||||
sysctl -f "/etc/sysctl.kld.d/$1.conf"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user