diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-06 21:24:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-06 21:24:19 +0000 |
commit | ca085aefa1b98ac0e4acd38496c5098562aea790 (patch) | |
tree | ddeb5476e534c5934b45f9998eefc65ba646a815 /packages | |
parent | 142a8b619d8725362ab7c0b4e6ece0ebd16b7ea0 (diff) | |
download | pfsense-packages-ca085aefa1b98ac0e4acd38496c5098562aea790.tar.gz pfsense-packages-ca085aefa1b98ac0e4acd38496c5098562aea790.tar.bz2 pfsense-packages-ca085aefa1b98ac0e4acd38496c5098562aea790.zip |
Make sure we use custom_deinstall_php_command tag for deinstall commands
Diffstat (limited to 'packages')
-rw-r--r-- | packages/nmap.xml | 2 | ||||
-rw-r--r-- | packages/ntop/ntop.xml | 4 | ||||
-rw-r--r-- | packages/pure-ftpd.xml | 4 | ||||
-rw-r--r-- | packages/pure-ftpdsettings.xml | 4 |
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"); |