view debian/ip-down @ 459:fb5e1ef118eb noffle

[svn] simplified config file handling using ucf >= 0.17
author godisch
date Mon, 14 Jul 2003 07:56:43 +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