diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 04:43:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 04:43:26 +0000 |
commit | a027730c320af577f00048e8171c0bbf779b9c81 (patch) | |
tree | d1349d98e4214b75f1b30bec0232de6dd52ab2f2 | |
parent | 90c54d668f3b0c5bcd7767e11da5aa1479b4861f (diff) | |
download | pfsense-packages-a027730c320af577f00048e8171c0bbf779b9c81.tar.gz pfsense-packages-a027730c320af577f00048e8171c0bbf779b9c81.tar.bz2 pfsense-packages-a027730c320af577f00048e8171c0bbf779b9c81.zip |
Use system
-rw-r--r-- | packages/spamd.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml index a6b03b14..6cbadb71 100644 --- a/packages/spamd.xml +++ b/packages/spamd.xml @@ -121,15 +121,15 @@ sync_package(); </custom_delete_php_command> <custom_php_install_command> - mwexc("touch /var/mail/whitelist.txt"); - mwexec("/usr/libexec/spamd-setup &"); - mwexec("/usr/libexec/spamlogd &"); + system("touch /var/mail/whitelist.txt 2>/dev/null"); + system("/usr/libexec/spamd-setup 2>/dev/null &"); + system("/usr/libexec/spamlogd 2>/dev/null &"); $fd = fopen("/usr/local/etc/rc.d/spamd","w"); fwrite($fd, "#!/bin/sh\n\n"); fwrite($fd, "/usr/libexec/spamd-setup &\n"); fwrite($fd, "/usr/libexec/spamlogd &\n"); fclose($fd); - mwexec("/usr/local/etc/rc.d/spamd"); + system("/usr/local/etc/rc.d/spamd 2>/dev/null"); </custom_php_install_command> <custom_php_deinstall_command> </custom_php_deinstall_command> |