aboutsummaryrefslogtreecommitdiffstats
path: root/config/nut
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 12:08:48 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 12:08:48 +0200
commit59a4273a8aa2b8f83d1c8e9185690117f90f87bb (patch)
tree1a0deb426cb2fe751c67583efb3c6be657f67818 /config/nut
parent50a6e6b1d41355333a071f1fe027ceb7c33df361 (diff)
downloadpfsense-packages-59a4273a8aa2b8f83d1c8e9185690117f90f87bb.tar.gz
pfsense-packages-59a4273a8aa2b8f83d1c8e9185690117f90f87bb.tar.bz2
pfsense-packages-59a4273a8aa2b8f83d1c8e9185690117f90f87bb.zip
nut.inc - remove useless config_(un)lock calls
This function does nothing but return.
Diffstat (limited to 'config/nut')
-rw-r--r--config/nut/nut.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/nut/nut.inc b/config/nut/nut.inc
index 578bb82f..fbc75a30 100644
--- a/config/nut/nut.inc
+++ b/config/nut/nut.inc
@@ -498,8 +498,6 @@ EOD;
global $config;
global $input_errors;
- config_lock();
-
stop_service("nut");
/* create state path */
@@ -542,7 +540,5 @@ EOD;
exec('/bin/rm -rf /var/db/nut');
conf_mount_ro();
}
-
- config_unlock();
}
?>