view debian/ip-down @ 474:e63a3bc27a75 noffle

[svn] * src/noffle.c: Security warning message about config file being globally readable was missing a parameter.
author bears
date Sat, 29 Nov 2003 23:53:31 +0000
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