On 2021-07-21, David Higgs <hig...@gmail.com> wrote: > I was looking into how to configure unwind for my needs, and found > significant discrepancies between /etc/examples/unwind.conf and the > unwind.conf(5) manual. Namely, the example file had lots of captive portal > info, while the manual made no mention of it. > > After browsing source history, I learned that when captive portal support > was removed, the example config was removed. > > I'm going to compare the contents of etc.tgz versus my /etc/examples > directory to avoid confusion in the future, but should sysmerge(8) have > removed example files such as this?
sysmerge doesn't deal with files in /etc/examples, they aren't expected to be modified in-place so they are just overwritten as part of extracting the base set. As with other files in the base there's nothing to remove old ones no longer present, but you can use "sysclean" (in packages) to identify files in system directories that aren't present in base - either local additions or obsolete files - if you'd like to remove them.