2010-05-13 00:38:18 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2011-08-10 15:46:41 +02:00
|
|
|
/usr/bin/sa-update > /dev/null 2>&1
|
2010-05-13 00:38:18 +02:00
|
|
|
if [ $? -eq 0 ]; then
|
2011-08-10 15:46:41 +02:00
|
|
|
[ -x /etc/rc.d/rc.spamd ] && /etc/rc.d/rc.spamd restart > /dev/null 2>&1
|
2010-05-13 00:38:18 +02:00
|
|
|
fi
|
|
|
|
|