HomeFreeBSD

rc.subr: remove the dependency on bsdconfig

Description

rc.subr: remove the dependency on bsdconfig

rc.subr uses sysrc(8) for the 'enable' and 'disable' commands, which
means the entire rc(8) stack depends on bsdconfig. Instead, provide a
minimal amount of rc.conf-editing functionality in rc.subr and use it to
implement these commands.

Reviewed by: des, bapt
Approved by: des (mentor)
Differential Revision: https://reviews.freebsd.org/D50325

(cherry picked from commit f6328f052518d56c01f10e14cd9ef1f2675c01a4)

Details

Provenance
ivyAuthored on May 14 2025, 2:33 PM
Reviewer
des
Differential Revision
D50325: rc.subr: remove the dependency on bsdconfig
Parents
rGcf624ffa812c: ifconfig: reject netmask and broadcast for inet6
Branches
Unknown
Tags
Unknown