Commit 5baa7593 authored by Franco Fichtner's avatar Franco Fichtner

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.
parent 2234d840
...@@ -815,9 +815,6 @@ function get_backups() { ...@@ -815,9 +815,6 @@ function get_backups() {
function backup_config() { function backup_config() {
global $config, $g; global $config, $g;
if($g['platform'] == "cdrom")
return;
conf_mount_rw(); conf_mount_rw();
/* Create backup directory if needed */ /* Create backup directory if needed */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment