New sysctl(8) -f option supports reading entire settings file in one go
by from OpenBSD Journal on (#6WFNE)
If you have ever been irked by having to enter a sequence of sysctl(8) commands to achieve things like enabling forwarding for IPv4 and IPv6 both, help is at hand.
In a recent commit, Klemens Nanni (kn@) added functionality to have the classic command read multiple settings from a file:
Subject: CVS: cvs.openbsd.org: srcFrom: Klemens Nanni <kn () cvs ! openbsd ! org>Date: 2025-04-05 14:09:06Message-ID: f3c322a675a4cd33 () cvs ! openbsd ! org[Download RAW message or body]CVSROOT:/cvsModule name:srcChanges by:kn@cvs.openbsd.org2025/04/05 08:09:06Modified files:sbin/sysctl : sysctl.8 sysctl.c Log message:Add [-f file] to apply sysctl.conf in one go