view debian/ip-up @ 464:d9035d08fe51 noffle

[svn] * src/fetch.c: Log failed posting that we can't mail back to the sender or where sending fails to <Noffle spool>/failed.posting.
author bears
date Wed, 23 Jul 2003 10:32:25 +0100
parents 146e6cfe86ba
children
line wrap: on
line source

#!/bin/sh

set -e

# 'ppp' should be a sane default here
NOFFLE_FETCHMODE=ppp

[ -f /etc/default/noffle ] && . /etc/default/noffle || :

if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then
	/usr/bin/noffle --online
	/usr/bin/noffle --fetch &
fi

exit 0