aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-21 13:57:41 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-21 13:57:41 +0200
commit6e7c15537353cc2377da63c3f9078502bfa14682 (patch)
tree36d75a9149e7fe89b89a6e9f02d521d4becfe5c8 /config
parent6c7adfa8c26dbe33f15939638bd32b038e74a0e4 (diff)
downloadpfsense-packages-6e7c15537353cc2377da63c3f9078502bfa14682.tar.gz
pfsense-packages-6e7c15537353cc2377da63c3f9078502bfa14682.tar.bz2
pfsense-packages-6e7c15537353cc2377da63c3f9078502bfa14682.zip
Use pfSense 2.1.x compatible boot check
Diffstat (limited to 'config')
-rw-r--r--config/autoconfigbackup/autoconfigbackup.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc
index ebd9dc08..abfe1a28 100644
--- a/config/autoconfigbackup/autoconfigbackup.inc
+++ b/config/autoconfigbackup/autoconfigbackup.inc
@@ -163,7 +163,11 @@ function upload_config($reasonm = "") {
global $config, $g, $input_errors;
// Do nothing when booting
- if (platform_booting()) {
+ if (function_exists("platform_booting")) {
+ if (platform_booting()) {
+ return;
+ }
+ } elseif ($g['booting']) {
return;
}