2006-12-14 20:36:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
sleep $(expr $RANDOM % 7200)
|
2007-02-07 22:48:00 +00:00
|
|
|
# Only restart spamd if sa-update returns 0, meaning it updated the rules
|
2007-02-13 18:32:20 +00:00
|
|
|
/usr/bin/sa-update && /etc/init.d/spamassassin condrestart > /dev/null
|