Mercurial > noffle
comparison debian/ip-up @ 334:08222dbe6eb0 noffle
[svn] cleanup
author | godisch |
---|---|
date | Sat, 01 Mar 2003 17:40:38 +0000 |
parents | 3b5b7f3fd71f |
children | 53b3cb6cae3d |
comparison
equal
deleted
inserted
replaced
333:47ba9cbc7b75 | 334:08222dbe6eb0 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | |
3 set -e | |
2 | 4 |
3 # 'ppp' should be a sane default here | 5 # 'ppp' should be a sane default here |
4 NOFFLE_FETCHMODE=ppp | 6 NOFFLE_FETCHMODE=ppp |
5 [ -f /etc/default/noffle ] && . /etc/default/noffle | |
6 | 7 |
7 [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ] && (/usr/bin/noffle --online; nohup /usr/bin/noffle --fetch) & | 8 if [ -f /etc/default/noffle ]; then |
9 . /etc/default/noffle | |
10 fi | |
11 | |
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 |