From 491aa08b49937b4fa3c18d84bb3365ffbc650a99 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 18 Dec 2004 21:34:28 +0000 Subject: Move the "User has been added." save message to the XML file where it belongs. --- packages/pure-ftpd.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml index 9c285218..c18add9b 100644 --- a/packages/pure-ftpd.xml +++ b/packages/pure-ftpd.xml @@ -1,4 +1,4 @@ - + pure-ftpd @@ -58,7 +58,7 @@ fclose($fout); mwexec("chmod a+x /usr/local/etc/rc.d/pure-ftpd.sh"); mwexec("/usr/local/etc/rc.d/pure-ftpd.sh"); - + mwexec("/usr/bin/killall pure-ftpd"); @@ -70,9 +70,10 @@ $salt = md5(time()); $crypted_pw = crypt($_POST['password'],$salt); fwrite($fd, $crypted_pw); - pclose($fd); + pclose($fd); + $savemsg = "User has been added."; mwexec("/usr/sbin/pw userdel " . $_POST['username']); - + -- cgit v1.2.3