view debian/ip-down @ 388:8e14809bf172 noffle

[svn] * src/content.c: Don't be fooled into thinking a filename starting ".." is just "..".
author bears
date Thu, 22 May 2003 09:27:02 +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