aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:30:33 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:30:33 +0200
commit6dd169c4505556882c31a0b894341869b574d6ce (patch)
tree4b5315a8c4f448c988adcf22a1a5e201f0c8af98 /config
parent4ccaef3a83fbe893438980f1b48726010c457891 (diff)
downloadpfsense-packages-6dd169c4505556882c31a0b894341869b574d6ce.tar.gz
pfsense-packages-6dd169c4505556882c31a0b894341869b574d6ce.tar.bz2
pfsense-packages-6dd169c4505556882c31a0b894341869b574d6ce.zip
autoconfigbackup.inc - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config')
-rw-r--r--config/autoconfigbackup/autoconfigbackup.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc
index 2511a2a1..7050aab6 100644
--- a/config/autoconfigbackup/autoconfigbackup.inc
+++ b/config/autoconfigbackup/autoconfigbackup.inc
@@ -188,8 +188,6 @@ function upload_config($reasonm = "") {
// Mount RW (if needed)
conf_mount_rw();
- // Lock config
- config_lock();
$notice_text = "Beginning https://portal.pfsense.org configuration backup.";
log_error($notice_text);
@@ -254,8 +252,6 @@ function upload_config($reasonm = "") {
update_filter_reload_status($notice_text);
}
- // Unlock config
- config_unlock();
// Mount image RO (if needed)
conf_mount_ro();