view debian/ip-down @ 372:458aa509ca0f noffle

[svn] update
author godisch
date Wed, 02 Apr 2003 12:06:23 +0100 (2003-04-02)
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