diff options
Diffstat (limited to 'network/spamassassin/sa-update.sh')
-rw-r--r-- | network/spamassassin/sa-update.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/network/spamassassin/sa-update.sh b/network/spamassassin/sa-update.sh new file mode 100644 index 0000000000..519578f9f0 --- /dev/null +++ b/network/spamassassin/sa-update.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +/usr/bin/sa-update > /dev/null +if [ $? -eq 0 ]; then + [ -x /etc/rc.d/rc.spamd ] && /etc/rc.d/rc.spamd restart > /dev/null +fi + |