aboutsummaryrefslogtreecommitdiffstats
path: root/config/phpsysinfo
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 15:05:28 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 15:05:28 +0200
commit0767305b6d3ba9725d138d6cd8d65fe610e85201 (patch)
tree86521d52828bc6f744c54e08984b79f51d6d92ac /config/phpsysinfo
parent88a7ccd44f39e441356077a4812b44ca6c00a5bb (diff)
downloadpfsense-packages-0767305b6d3ba9725d138d6cd8d65fe610e85201.tar.gz
pfsense-packages-0767305b6d3ba9725d138d6cd8d65fe610e85201.tar.bz2
pfsense-packages-0767305b6d3ba9725d138d6cd8d65fe610e85201.zip
remove useless config_(un)lock calls round two
Diffstat (limited to 'config/phpsysinfo')
-rw-r--r--config/phpsysinfo/phpsysinfo.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/phpsysinfo/phpsysinfo.inc b/config/phpsysinfo/phpsysinfo.inc
index f6b8d264..54ece241 100644
--- a/config/phpsysinfo/phpsysinfo.inc
+++ b/config/phpsysinfo/phpsysinfo.inc
@@ -1,17 +1,14 @@
<?php
function phpsysinfo_install_deinstall() {
conf_mount_rw();
- config_lock();
exec("cd /var/db/pkg/ && pkg_delete `ls | grep mbmon`");
exec("rm -d -R /usr/local/www/phpsysinfo");
conf_mount_ro();
- config_unlock();
}
function phpsysinfo_install_config() {
global $config, $g;
conf_mount_rw();
- config_lock();
exec("cd ..");
exec("tar -zxovf /usr/local/pkg/phpsysinfo-2.5.4.tar.gz");
exec("mv phpsysinfo /usr/local/www/phpsysinfo");
@@ -155,6 +152,5 @@ fwrite($hf, '?>');
fwrite($hf, "\n");
fclose($hf);
conf_mount_ro();
- config_unlock();
}
?>