#!/bin/sh
#
# This script is called when ppp/ifup 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" -a "$METHOD" != loopback ]; then
/usr/sbin/slrn_getdescs $INTERVAL >/dev/null
fi