view debian/ip-down @ 360:a23b37308063 noffle

[svn] || true cleanup
author godisch
date Sat, 29 Mar 2003 06:57:20 +0000 (2003-03-29)
parents 53b3cb6cae3d
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 --offline
fi

exit 0