view debian/ip-up @ 492:9385ce7e5c5d noffle

[svn] Debian 1.1.5-9
author godisch
date Sun, 16 Apr 2006 07:18:41 +0100
parents 146e6cfe86ba
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 --online
	/usr/bin/noffle --fetch &
fi

exit 0