view debian/ip-up @ 499:1c4d3397e99f noffle

More items for .hgignore.
author Jim Hague <jim.hague@acm.org>
date Wed, 14 Aug 2013 11:50:21 +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