view debian/ip-up @ 378:38f082d6856a noffle

[svn] fixed reverse patching
author godisch
date Thu, 10 Apr 2003 16:12:25 +0100
parents 53b3cb6cae3d
children 146e6cfe86ba
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; nohup /usr/bin/noffle --fetch) &
fi

exit 0