# !/bin/sh
#
# /etc/ppp/ip-up.d/suck
# script to start getnews at dial up 

if [ -f /var/lib/suck/status ]; then
   mv /var/lib/suck/status /var/lib/suck/status.old
fi 

if [ -x /usr/sbin/get-news ]; then
    su news --command="/usr/sbin/get-news > /var/lib/suck/status"
fi


Local variables:
mode: sh
End:

