summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-18 06:29:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-18 06:29:32 +0000
commit8fb3a072940570e10e2e7faa06da4df4556c62a7 (patch)
tree80cd9297ec5881933dbe9e6ca2725ceb1902e37a /etc/inc/config.inc
parent2426d7534680abef90b4c63700c84a93db235b16 (diff)
downloadpfsense-8fb3a072940570e10e2e7faa06da4df4556c62a7.zip
pfsense-8fb3a072940570e10e2e7faa06da4df4556c62a7.tar.gz
Do not run config_backup() atm until cdrom issues are cleared up
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index cb0061c..0b945c5 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1107,6 +1107,10 @@ function get_backups() {
function backup_config() {
global $config, $g;
+ /* XXX: temporary */
+ if($g['platform'] == "cdrom")
+ return;
+
conf_mount_rw();
/* Create backup directory if needed */
@@ -1146,4 +1150,4 @@ function unmute_kernel_msgs() {
exec("/sbin/conscontrol mute off");
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud