summaryrefslogtreecommitdiff
path: root/network/spamassassin/sa-update.sh
blob: 519578f9f03296fe23a3955739ae4511e5f44e51 (plain)
1
2
3
4
5
6
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