#!/bin/sh

set -e

. /etc/noffle/conf.debian

[ -x $NOFFLE ] || exit 0

if [ "$NOFFLE_FETCHMODE" = ppp ]
then
    nohup su news -c "$NOFFLE --online; $NOFFLE --fetch" &
fi
