diff options
Diffstat (limited to 'packages')
-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> |