Choosing active repo after restoring config but before starting pkgs auto-installing
The current behavior is if a certain repo is set, config contains an entry for this, like
<pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo-xxx.conf</pkg_repo_conf_path> and device has different firmware version from config original, but also has the same repo set. Then, if the config is restored on that device pkgs anyway will be installed from default repo for current firmware version installed on the device. E.g. config from 2.4.5 has a 2.4.4-deprecated repo set, the device has 2.4.4-p3, and uses the same 2.4.4-deprecated repo. Then after restoring config pkgs will be installed from default 2.4.x-stable repo, it looks like the preferred repo was not set anywhere. This might lead to a problem with the wrong pkgs versions.
It would be good if after restoring config, but before auto-installing pkgs, the user can choose that repo has to be used on the device.