aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/nmap.xml2
-rw-r--r--packages/ntop/ntop.xml4
-rw-r--r--packages/pure-ftpd.xml4
-rw-r--r--packages/pure-ftpdsettings.xml4
4 files changed, 8 insertions, 6 deletions
diff --git a/packages/nmap.xml b/packages/nmap.xml
index 2fe47e8a..f547b10c 100644
--- a/packages/nmap.xml
+++ b/packages/nmap.xml
@@ -49,6 +49,8 @@
<type>checkbox</type>
</field>
</fields>
+ <custom_php_deinstall_command>
+ </custom_php_deinstall_command>
<custom_add_php_command>
$nmap_options = "";
if($_POST['option'] == "-sT: TCP connect() scan.") $nmap_options .= " -sT";
diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml
index 895c9d94..2efce7b6 100644
--- a/packages/ntop/ntop.xml
+++ b/packages/ntop/ntop.xml
@@ -42,9 +42,9 @@
exit;
}
</custom_add_php_command>
- <custom_deinstall_php_command>
+ <custom_php_deinstall_command>
mwexec("/usr/bin/killall ntop");
- </custom_deinstall_php_command>
+ </custom_php_deinstall_command>
<custom_php_install_command>
system("rm /usr/local/etc/rc.d/ntop.sh");
$fout = fopen("/usr/local/etc/rc.d/ntop.sh","w");
diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml
index 175c8709..315e08fa 100644
--- a/packages/pure-ftpd.xml
+++ b/packages/pure-ftpd.xml
@@ -69,10 +69,10 @@
mwexec("chmod a+x /usr/local/etc/rc.d/pure-ftpd.sh");
mwexec("/usr/local/etc/rc.d/pure-ftpd.sh");
</custom_php_install_command>
- <custom_deinstall_php_command>
+ <custom_php_deinstall_command>
mwexec("/usr/bin/killall pure-ftpd");
system("rm -rf /usr/local/etc/pure*");
- </custom_deinstall_php_command>
+ </custom_php_deinstall_command>
<custom_add_php_command>
$expires = "";
if($_POST['expiration']) $expires = " -e " . $_POST['expiration'];
diff --git a/packages/pure-ftpdsettings.xml b/packages/pure-ftpdsettings.xml
index fccd6651..533c26df 100644
--- a/packages/pure-ftpdsettings.xml
+++ b/packages/pure-ftpdsettings.xml
@@ -76,8 +76,8 @@
</fields>
<custom_php_install_command>
</custom_php_install_command>
- <custom_deinstall_php_command>
- </custom_deinstall_php_command>
+ <custom_php_deinstall_command>
+ </custom_php_deinstall_command>
<custom_add_php_command>
mwexec("rm /usr/local/etc/rc.d/pure-ftp*");
$fout = fopen("/usr/local/etc/rc.d/pure-ftpd.sh","w");