aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-26 04:43:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-26 04:43:26 +0000
commita027730c320af577f00048e8171c0bbf779b9c81 (patch)
treed1349d98e4214b75f1b30bec0232de6dd52ab2f2 /packages
parent90c54d668f3b0c5bcd7767e11da5aa1479b4861f (diff)
downloadpfsense-packages-a027730c320af577f00048e8171c0bbf779b9c81.tar.gz
pfsense-packages-a027730c320af577f00048e8171c0bbf779b9c81.tar.bz2
pfsense-packages-a027730c320af577f00048e8171c0bbf779b9c81.zip
Use system
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>