aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/spamd.xml8
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 &amp;");
- mwexec("/usr/libexec/spamlogd &amp;");
+ system("touch /var/mail/whitelist.txt 2>/dev/null");
+ system("/usr/libexec/spamd-setup 2>/dev/null &amp;");
+ system("/usr/libexec/spamlogd 2>/dev/null &amp;");
$fd = fopen("/usr/local/etc/rc.d/spamd","w");
fwrite($fd, "#!/bin/sh\n\n");
fwrite($fd, "/usr/libexec/spamd-setup &amp;\n");
fwrite($fd, "/usr/libexec/spamlogd &amp;\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>