aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/pure-ftpd.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml
index 6ec75f55..698437be 100644
--- a/packages/pure-ftpd.xml
+++ b/packages/pure-ftpd.xml
@@ -93,6 +93,7 @@
$savemsg = "User has been added.";
</custom_add_php_command>
<custom_delete_php_command>
+ system("/bin/rm -rf /home/" . $username);
system("/usr/sbin/pw userdel " . $username);
</custom_delete_php_command>
</packagegui>