view debian/ip-up @ 336:2893746f56b8 noffle

[svn] added uploads to stable and stable-security
author godisch
date Tue, 04 Mar 2003 17:27:11 +0000
parents 08222dbe6eb0
children 53b3cb6cae3d
line wrap: on
line source

#!/bin/sh

set -e

# 'ppp' should be a sane default here
NOFFLE_FETCHMODE=ppp

if [ -f /etc/default/noffle ]; then
	. /etc/default/noffle
fi

if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then
	(/usr/bin/noffle --online; nohup /usr/bin/noffle --fetch) &
fi

exit 0