diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-04-17 16:58:31 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-04-17 16:58:31 -0400 |
commit | 1a41801081276ba28f0987e8eb0810025117b47a (patch) | |
tree | 021017698aeac5640d86ed4c91fd70beeb56a44c /config | |
parent | e53761b0a42a36dc21ccc8bcced6374e81364252 (diff) | |
download | pfsense-packages-1a41801081276ba28f0987e8eb0810025117b47a.tar.gz pfsense-packages-1a41801081276ba28f0987e8eb0810025117b47a.tar.bz2 pfsense-packages-1a41801081276ba28f0987e8eb0810025117b47a.zip |
No need to backup during bootup
Diffstat (limited to 'config')
-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) |