aboutsummaryrefslogtreecommitdiffstats
path: root/config/shellcmd/shellcmd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/shellcmd/shellcmd.inc')
-rw-r--r--config/shellcmd/shellcmd.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/config/shellcmd/shellcmd.inc b/config/shellcmd/shellcmd.inc
index c7f50202..c5020d5f 100644
--- a/config/shellcmd/shellcmd.inc
+++ b/config/shellcmd/shellcmd.inc
@@ -71,19 +71,6 @@ function shellcmd_install_command()
conf_mount_rw();
config_lock();
- if (!is_dir('/usr/local/www/packages/')) {
- exec("mkdir /usr/local/www/packages/");
- }
-
- if (!is_dir('/usr/local/www/packages/shellcmd/')) {
- exec("mkdir /usr/local/www/packages/shellcmd/");
- }
-
-
- //rename PHP files from .tmp to .php
- exec("cp /usr/local/pkg/shellcmd.tmp /usr/local/www/packages/shellcmd/shellcmd.php");
- exec("cp /usr/local/pkg/shellcmd_edit.tmp /usr/local/www/packages/shellcmd/shellcmd_edit.php");
-
//write_config();
//write_rcfile(array(
@@ -111,9 +98,6 @@ function shellcmd_deinstall_command()
conf_mount_rw();
config_lock();
$handle = popen("/usr/local/etc/rc.d/shellcmd.sh stop", "r");
- unlink_if_exists("/usr/local/pkg/shellcmd.xml");
- unlink_if_exists("/usr/local/www/shellcmd.inc");
- exec("rm -R /usr/local/www/packages/shellcmd");
//unlink_if_exists("/usr/local/etc/rc.d/shellcmd.sh");
conf_mount_ro();
config_unlock();