view debian/ip-down @ 461:b540ecb6f218 noffle

[svn] * src/itemlist.c: Add define so test code builds again. * src/noffle.c: Fix SF bug 756585 in command handling and beef up returning an appropriate exit value.
author bears
date Wed, 23 Jul 2003 08:53:42 +0100
parents 53b3cb6cae3d
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 --offline
fi

exit 0