mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
system: prepare origin.conf -> OPNsense.conf move
PR: https://github.com/opnsense/update/issues/35
This commit is contained in:
parent
893940e532
commit
1f522b2ed6
@ -873,7 +873,11 @@ function system_firmware_configure($verbose = false)
|
||||
}
|
||||
|
||||
/* rewrite the config via the defaults */
|
||||
$origin_conf = '/usr/local/etc/pkg/repos/origin.conf';
|
||||
$origin_conf = '/usr/local/etc/pkg/repos/OPNsense.conf';
|
||||
/* XXX pre-18.7 fallback */
|
||||
if (!file_exists($origin_conf)) {
|
||||
$origin_conf = '/usr/local/etc/pkg/repos/origin.conf';
|
||||
}
|
||||
copy("${origin_conf}.sample", $origin_conf);
|
||||
|
||||
if (!empty($config['system']['firmware']['mirror'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user