view debian/ip-up @ 500:614a3177b15c noffle tip

Add mail-from option. Some modern mail systems will try and ensure the sender email is a legitimate address. Which will fail if there isn't such an address.
author Jim Hague <jim.hague@acm.org>
date Wed, 14 Aug 2013 12:04:39 +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