annotate debian/ip-down @ 319:1e595c7ec15f noffle

[svn] * src/noffle.c: Give usage (rather than abort()) if option is unrecognised.
author bears
date Fri, 21 Feb 2003 16:02:01 +0000
parents 3b5b7f3fd71f
children 08222dbe6eb0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
1 #!/bin/sh
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
2
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
3 # 'ppp' should be a sane default here
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
4 NOFFLE_FETCHMODE=ppp
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
5 [ -f /etc/default/noffle ] && . /etc/default/noffle
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
6
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
7 [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ] && /usr/bin/noffle --offline