Mercurial > noffle
diff debian/ip-up @ 334:08222dbe6eb0 noffle
[svn] cleanup
author | godisch |
---|---|
date | Sat, 01 Mar 2003 17:40:38 +0000 |
parents | 3b5b7f3fd71f |
children | 53b3cb6cae3d |
line wrap: on
line diff
--- a/debian/ip-up Sat Mar 01 17:39:39 2003 +0000 +++ b/debian/ip-up Sat Mar 01 17:40:38 2003 +0000 @@ -1,7 +1,16 @@ #!/bin/sh +set -e + # 'ppp' should be a sane default here NOFFLE_FETCHMODE=ppp -[ -f /etc/default/noffle ] && . /etc/default/noffle + +if [ -f /etc/default/noffle ]; then + . /etc/default/noffle +fi -[ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ] && (/usr/bin/noffle --online; nohup /usr/bin/noffle --fetch) & +if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then + (/usr/bin/noffle --online; nohup /usr/bin/noffle --fetch) & +fi + +exit 0