view debian/ip-up @ 363:014146ed83bf noffle

[svn] cleanup
author godisch
date Sat, 29 Mar 2003 07:22:04 +0000
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