annotate debian/ip-up @ 456:7e0c7dd29d53 noffle

[svn] removed doubled lock dir removal
author godisch
date Wed, 25 Jun 2003 18:00:10 +0100
parents 146e6cfe86ba
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
1 #!/bin/sh
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
2
334
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
3 set -e
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
4
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
5 # 'ppp' should be a sane default here
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
6 NOFFLE_FETCHMODE=ppp
334
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
7
340
53b3cb6cae3d [svn] cleanup
godisch
parents: 334
diff changeset
8 [ -f /etc/default/noffle ] && . /etc/default/noffle || :
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
9
334
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
10 if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then
384
146e6cfe86ba [svn] removed nohup from ip-up script
godisch
parents: 340
diff changeset
11 /usr/bin/noffle --online
146e6cfe86ba [svn] removed nohup from ip-up script
godisch
parents: 340
diff changeset
12 /usr/bin/noffle --fetch &
334
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
13 fi
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
14
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
15 exit 0