summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2011-10-13 14:15:05 +0200
committersmos <seth.mos@dds.nl>2011-10-13 14:28:19 +0200
commit7ad4b1f4d9ae93ceb41c9102900a4ba4bcb54f88 (patch)
tree13850e9d02e7dd48f5f29a9f4853a73d5d0cc044 /etc
parenteb5e790f09045b5e2dfbf29b5d80c11bbfa0b078 (diff)
downloadpfsense-7ad4b1f4d9ae93ceb41c9102900a4ba4bcb54f88.zip
pfsense-7ad4b1f4d9ae93ceb41c9102900a4ba4bcb54f88.tar.gz
Move the old databases to the backup folder in conf
Fixes ticket #1758
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/upgrade_config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index 501a2bc..d42f92e 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -1944,7 +1944,7 @@ function upgrade_054_to_055() {
log_error("RRD restore failed exited with $rrdreturn, the error is: $rrdrestore\n");
}
/* Make sure to move the rrd backup out of the way. We will make a new one after converting. */
- exec("/bin/mv {$g['cf_conf_path']}/rrd.tgz /root/");
+ exec("/bin/mv {$g['cf_conf_path']}/rrd.tgz {$g['cf_conf_path']}/backup");
}
}
OpenPOWER on IntegriCloud