summaryrefslogtreecommitdiff
path: root/network/spamassassin/sa-update.sh
blob: 64ab55cca123bde45e94370b7f1e69a723291b1f (plain)
1
2
3
4
5
6
7
#!/bin/sh

/usr/bin/sa-update > /dev/null 2>&1
if [ $? -eq 0 ]; then
    [ -x /etc/rc.d/rc.spamd ] && /etc/rc.d/rc.spamd restart > /dev/null 2>&1
fi