The shell profiles /.profile and /.cshrc are installed as hard links to
/root/.profile resp. /root/.cshrc. The files in /root have the config
tag, but the files in / do not, which causes them to be overwritten by
pkg upgrade. Since they're links, this also overwrites the files in
/root.
Add the config tag to the files in / as well, so pkg treates both links
as config files and won't overwrite them.
This is a direct commit to stable/14 (these files were removed in 15.0).
PR: 289097