Mercurial > noffle
annotate debian/ip-down @ 499:1c4d3397e99f noffle
More items for .hgignore.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 14 Aug 2013 11:50:21 +0100 |
parents | 53b3cb6cae3d |
children |
rev | line source |
---|---|
301 | 1 #!/bin/sh |
2 | |
334 | 3 set -e |
4 | |
301 | 5 # 'ppp' should be a sane default here |
6 NOFFLE_FETCHMODE=ppp | |
334 | 7 |
340 | 8 [ -f /etc/default/noffle ] && . /etc/default/noffle || : |
301 | 9 |
334 | 10 if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then |
11 /usr/bin/noffle --offline | |
12 fi | |
13 | |
14 exit 0 |