Mercurial > noffle
annotate debian/ip-up @ 337:1aa1ed030464 noffle
[svn] cleanup bugfix
| author | godisch |
|---|---|
| date | Tue, 04 Mar 2003 20:40:26 +0000 |
| parents | 08222dbe6eb0 |
| 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 |
