diff options
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup.inc')
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.inc | 8 |
1 files changed, 8 insertions, 0 deletions
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) |