aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 01:51:46 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 01:51:46 +0200
commit3d8da8dc48375bde828af21bbbe8b3a0612b2fdd (patch)
tree6a675b53e042e3af33fe47101c72bb8b05c120b9
parent9ece3aa3156c4ef62c57ef94b98d01a9b5fcaa51 (diff)
downloadpfsense-packages-3d8da8dc48375bde828af21bbbe8b3a0612b2fdd.tar.gz
pfsense-packages-3d8da8dc48375bde828af21bbbe8b3a0612b2fdd.tar.bz2
pfsense-packages-3d8da8dc48375bde828af21bbbe8b3a0612b2fdd.zip
arpwatch.xml - remove useless config_(un)lock calls
-rw-r--r--config/arpwatch/arpwatch.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/arpwatch/arpwatch.xml b/config/arpwatch/arpwatch.xml
index 820d397d..2a2045c7 100644
--- a/config/arpwatch/arpwatch.xml
+++ b/config/arpwatch/arpwatch.xml
@@ -104,7 +104,6 @@
function sync_package_arpwatch() {
global $config;
conf_mount_rw();
- config_lock();
$log_file = "/var/log/arp.dat";
/* E-mail notifications setup */
@@ -139,7 +138,6 @@
restart_service("arpwatch");
conf_mount_ro();
- config_unlock();
}
]]>
</custom_php_global_functions>