aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-18 21:34:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-18 21:34:28 +0000
commit491aa08b49937b4fa3c18d84bb3365ffbc650a99 (patch)
tree6b82197b8064f7d43b4d6048dc418ce2e5b595ad /packages
parent566857ab7ab1b5fcc0fbc76f462d9997ca7e605e (diff)
downloadpfsense-packages-491aa08b49937b4fa3c18d84bb3365ffbc650a99.tar.gz
pfsense-packages-491aa08b49937b4fa3c18d84bb3365ffbc650a99.tar.bz2
pfsense-packages-491aa08b49937b4fa3c18d84bb3365ffbc650a99.zip
Move the "User has been added." save message to the XML file where it belongs.
Diffstat (limited to 'packages')
-rw-r--r--packages/pure-ftpd.xml9
1 files 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 @@
-<?xml version="1.0" encoding="utf-8" ?>
+<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
<name>pure-ftpd</name>
<!-- Menu is where this packages menu will appear -->
@@ -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");
- </custom_php_install_command>
+ </custom_php_install_command>
<custom_deinstall_php_command>
mwexec("/usr/bin/killall pure-ftpd");
</custom_deinstall_php_command>
@@ -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.";
</custom_add_php_command>
<custom_delete_php_command>
mwexec("/usr/sbin/pw userdel " . $_POST['username']);
- </custom_delete_php_command>
+ </custom_delete_php_command>
</packagegui>