#!/bin/sh
#
# This script is called when ppp connects to the network.
# Slrn uses it for refreshing newsgroup descriptions

[ -x /usr/bin/slrn ] || exit 0

if [ -f /etc/default/slrn ]; then
        . /etc/default/slrn
fi

if [ "$GETDESCS" = "ip-up" ]; then
	/usr/sbin/slrn_getdescs $INTERVAL & >/dev/null
fi
