aboutsummaryrefslogtreecommitdiffstats
path: root/config/nut
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-11 08:23:43 -0300
committerRenato Botelho <renato@netgate.com>2015-08-11 08:23:43 -0300
commitac41b35988091a163b5a4e55dc358becdae3de7a (patch)
tree6a41d7b0aeba59113a0393dcb3d5bf7dfc717445 /config/nut
parentc6e18d38e9ad1e0919bbdfc659f4b6b7ace1a87f (diff)
parent9b36d6b6c1f95574b15dff4e9e8ba794d4502a73 (diff)
downloadpfsense-packages-ac41b35988091a163b5a4e55dc358becdae3de7a.tar.gz
pfsense-packages-ac41b35988091a163b5a4e55dc358becdae3de7a.tar.bz2
pfsense-packages-ac41b35988091a163b5a4e55dc358becdae3de7a.zip
Merge pull request #984 from doktornotor/patch-26
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();
}
?>