view debian/ip-down @ 334:08222dbe6eb0 noffle

[svn] cleanup
author godisch
date Sat, 01 Mar 2003 17:40:38 +0000
parents 3b5b7f3fd71f
children 53b3cb6cae3d
line wrap: on
line source

#!/bin/sh

set -e

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

if [ -f /etc/default/noffle ]; then
	. /etc/default/noffle
fi

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

exit 0