mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove old dnssec-keygen style files during upgrade
This commit is contained in:
parent
ab1112eed9
commit
0ccfd70e2c
@ -74,7 +74,7 @@ $g = array(
|
||||
"disablecrashreporter" => false,
|
||||
"crashreporterurl" => "https://crashreporter.pfsense.org/crash_reporter.php",
|
||||
"debug" => false,
|
||||
"latest_config" => "17.3",
|
||||
"latest_config" => "17.4",
|
||||
"minimum_ram_warning" => "101",
|
||||
"minimum_ram_warning_text" => "128 MB",
|
||||
"wan_interface_name" => "wan",
|
||||
|
||||
@ -5493,6 +5493,17 @@ function upgrade_172_to_173() {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Delete old Dynamic DNS dnssec-keygen style files,
|
||||
* they are replaced with a simpler single ddns-confgen style file.
|
||||
*/
|
||||
function upgrade_173_to_174() {
|
||||
global $g;
|
||||
|
||||
unlink_if_exists("{$g['varetc_path']}/K*+157+00000.key");
|
||||
unlink_if_exists("{$g['varetc_path']}/K*+157+00000.private");
|
||||
}
|
||||
|
||||
/*
|
||||
* Special function that is called independent of current config version. It's
|
||||
* a workaround to have config_upgrade running on older versions after next
|
||||
|
||||
Loading…
Reference in New Issue
Block a user