diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-21 13:57:41 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-21 13:57:41 +0200 |
commit | 6e7c15537353cc2377da63c3f9078502bfa14682 (patch) | |
tree | 36d75a9149e7fe89b89a6e9f02d521d4becfe5c8 /config | |
parent | 6c7adfa8c26dbe33f15939638bd32b038e74a0e4 (diff) | |
download | pfsense-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.inc | 6 |
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; } |