view debian/ip-up @ 406:44ffdb180788 noffle

[svn] fixed port range
author godisch
date Thu, 05 Jun 2003 18:55:44 +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