view debian/ip-down @ 313:6e92a005ba27 noffle

[svn] cleanup bugfix
author godisch
date Wed, 19 Feb 2003 19:13:50 +0000
parents 3b5b7f3fd71f
children 08222dbe6eb0
line wrap: on
line source

#!/bin/sh

# 'ppp' should be a sane default here
NOFFLE_FETCHMODE=ppp
[ -f /etc/default/noffle ] && . /etc/default/noffle

[ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ] && /usr/bin/noffle --offline