Why is sysctl.d folder missing?

Questions about the installation of FreeBSD
Post Reply
nevets
Posts: 149
Joined: Tue Jun 23, 2020 3:54 am

Why is sysctl.d folder missing?

Post by nevets »

Hi, this is a whole disc install on 3rd March iso...
Does anyone know why the latest install is missing the sysctl.d folder in /etc ?

Steve
RodMyers
Posts: 71
Joined: Sat Nov 27, 2021 8:16 pm

Re: Why is sysctl.d folder missing?

Post by RodMyers »

is that a linux thing?

I don't see it my ghostBSD install.
nevets
Posts: 149
Joined: Tue Jun 23, 2020 3:54 am

Re: Why is sysctl.d folder missing?

Post by nevets »

Hi Rod.
It was there back in the old Trident days... useful to keep the native instal clean and just drop your own .conf overlays. Just gone missing recently for some reason.
I used it to set this content:
## To have smartd start at boot
## smartmontools
smartd_enable="YES"
## Disable opening syslogd network socket (disables remote logging)
syslogd_flags="-ss"
There's also /etc/rc.conf.d/ missing too for holding additional .conf files there.

The startup init files no longer point to the conf file folders [sysctl.d and rc.conf.d] so they've been modified.

In moving from openrc to rc did someone then think these directories were part of openrc - I didn't think so but could be mistaken. Do you have a FreeBSD stable on hand to check?

Personally I prefer keeping the rc.conf and sysctl.conf files pristine from the initial instal, and using the subfolders to finesse my system.

Steve
RodMyers
Posts: 71
Joined: Sat Nov 27, 2021 8:16 pm

Re: Why is sysctl.d folder missing?

Post by RodMyers »

FreeBSD & GhostBSD use /etc/rc.conf for many of those things

To be honest, I don't remember too many things regarding setup in both incarnations of PT
Post Reply