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