aboutsummaryrefslogtreecommitdiffstats
path: root/config/phpsysinfo/phpsysinfo.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-11 11:53:10 -0300
committerRenato Botelho <renato@netgate.com>2015-08-11 11:53:10 -0300
commit3faf4d8c63981742cf7d6a99c41c9e39d815db0d (patch)
tree655166f28159c9630a5c13e078f7aa54411cd6c7 /config/phpsysinfo/phpsysinfo.inc
parentc0ab8887bdfff3064351e598840bdce35a174fbd (diff)
parent0767305b6d3ba9725d138d6cd8d65fe610e85201 (diff)
downloadpfsense-packages-3faf4d8c63981742cf7d6a99c41c9e39d815db0d.tar.gz
pfsense-packages-3faf4d8c63981742cf7d6a99c41c9e39d815db0d.tar.bz2
pfsense-packages-3faf4d8c63981742cf7d6a99c41c9e39d815db0d.zip
Merge pull request #989 from doktornotor/patch-2
Diffstat (limited to 'config/phpsysinfo/phpsysinfo.inc')
-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();
}
?>