mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
config: backups must be allowed on cdroms as well
This allows to pull a configuration from the installed system via bsdinstaller and then either boot into the LiveCD or install the system again. Especially useful in an upgrade scenario so that the system is cleaned but all settings are preserved.
This commit is contained in:
parent
2234d84026
commit
5baa759375
@ -815,9 +815,6 @@ function get_backups() {
|
||||
function backup_config() {
|
||||
global $config, $g;
|
||||
|
||||
if($g['platform'] == "cdrom")
|
||||
return;
|
||||
|
||||
conf_mount_rw();
|
||||
|
||||
/* Create backup directory if needed */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user