aboutsummaryrefslogtreecommitdiffstats
path: root/config/spamd
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-02 13:34:28 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-02 13:34:28 +0200
commitdfef2ec2f9dbe3ccd9305515a07700b3908859a3 (patch)
treec532a4c0dff40e050a8d041b73d656ce897c479f /config/spamd
parent6c0fc7db039914df4f75327076175b119c83987a (diff)
downloadpfsense-packages-dfef2ec2f9dbe3ccd9305515a07700b3908859a3.tar.gz
pfsense-packages-dfef2ec2f9dbe3ccd9305515a07700b3908859a3.tar.bz2
pfsense-packages-dfef2ec2f9dbe3ccd9305515a07700b3908859a3.zip
Make stopping services silent on console
Diffstat (limited to 'config/spamd')
-rw-r--r--config/spamd/spamd.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc
index 9b1849c7..a4094ad3 100644
--- a/config/spamd/spamd.inc
+++ b/config/spamd/spamd.inc
@@ -179,9 +179,9 @@ EOF;
$rc['stop'] = <<< EOF
-/usr/bin/killall spamd-setup
-/usr/bin/killall spamlogd
-/usr/bin/killall spamd
+/usr/bin/killall spamd-setup 2>/dev/null
+/usr/bin/killall spamlogd 2>/dev/null
+/usr/bin/killall spamd 2>/dev/null
sleep 3
if [ `/sbin/mount | /usr/bin/grep '[f]descfs' | /usr/bin/wc -l` -gt 0 ]; then
/sbin/umount /dev/fd