Mercurial > noffle
annotate debian/ip-down @ 466:e769484a87c3 noffle
[svn] fixed removal of old config dir
| author | godisch |
|---|---|
| date | Sat, 26 Jul 2003 08:37:07 +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 |
