aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}
?>