From 1a41801081276ba28f0987e8eb0810025117b47a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 17 Apr 2010 16:58:31 -0400 Subject: No need to backup during bootup --- config/autoconfigbackup/autoconfigbackup.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc index 9a628f53..232bbb4c 100644 --- a/config/autoconfigbackup/autoconfigbackup.inc +++ b/config/autoconfigbackup/autoconfigbackup.inc @@ -55,6 +55,10 @@ function custom_php_validation_command($post, $input_errors) { function test_connection($post) { global $savemsg, $config; + /* do nothing when booting */ + if($g['booting']) + return; + // Seperator used during client / server communications $oper_sep = "\|\|"; @@ -93,6 +97,10 @@ function test_connection($post) { function upload_config($reasonm = "") { global $config, $g, $input_errors; + /* do nothing when booting */ + if($g['booting']) + return; + /* * pfSense upload config to pfSense.org script * This file plugs into config.inc (/usr/local/pkg/parse_config) -- cgit v1.2.3