HomeFreeBSD

bsdinstall netconfig: avoid duplicate entries in rc.conf

Description

bsdinstall netconfig: avoid duplicate entries in rc.conf

This uses sysrc to write and update configuration variables in the
temporary configuration file for network access, ._rc.conf.net. This
replaces the previous mechanism, which was simply appending new values
as they were updated.

PR: 212396
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42194

Details

Provenance
khorben_defora.orgAuthored on Oct 13 2023, 3:45 PM
emasteCommitted on Oct 13 2023, 4:45 PM
Reviewer
emaste
Differential Revision
D42194: [PATCH 2/2] netconfig: avoid duplicate entries in rc.conf
Parents
rG01ab86f7e6a6: bsdinstall: reset the mirror when restarting
Branches
Unknown
Tags
Unknown