Mercurial > noffle
annotate debian/ip-up @ 340:53b3cb6cae3d noffle
[svn] cleanup
author | godisch |
---|---|
date | Tue, 04 Mar 2003 21:20:07 +0000 |
parents | 08222dbe6eb0 |
children | 146e6cfe86ba |
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 --online; nohup /usr/bin/noffle --fetch) & | |
12 fi | |
13 | |
14 exit 0 |