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:
Franco Fichtner 2014-11-16 12:25:35 +01:00
parent 2234d84026
commit 5baa759375

View File

@ -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 */