Help make sysctl.conf.d

Wherever the conf file is in the /etc path, can a dir named configuration and its final .d added?
for example in path

mkdir /etc/ufw/sysctlc.conf.d/
nano /etc/ufw/sysctlc.conf.d/my.conf

Does this method true to /etc route?

No. The program have to support it. Or if it is a bash script, you can source the files:

source /path/dir.d/*.conf

Otherwise, check the manpages:

 man -k . | grep -E "[a-z_-]+\.d\s"
1 Like

Thank you

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.