Open jlduran opened 2 weeks ago
sysctl
$SYSCTL
$SYSCTL_NULL
> /dev/null
sysctl_rc() { ${SYSCTL} "$@" > /dev/null }
Might be an overkill, there is no shame in redirecting... (sysrc, sysctl)
sysrc
sysctl
in rc scripts with rc.subr's$SYSCTL
variable as a best practice.$SYSCTL_NULL
or similar, that automatically attaches> /dev/null
for convenience.