Mercurial > noffle
annotate debian/ip-up @ 334:08222dbe6eb0 noffle
[svn] cleanup
author | godisch |
---|---|
date | Sat, 01 Mar 2003 17:40:38 +0000 |
parents | 3b5b7f3fd71f |
children | 53b3cb6cae3d |
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 |
8 if [ -f /etc/default/noffle ]; then | |
9 . /etc/default/noffle | |
10 fi | |
301 | 11 |
334 | 12 if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then |
13 (/usr/bin/noffle --online; nohup /usr/bin/noffle --fetch) & | |
14 fi | |
15 | |
16 exit 0 |