annotate debian/ip-up @ 500:614a3177b15c noffle tip

Add mail-from option. Some modern mail systems will try and ensure the sender email is a legitimate address. Which will fail if there isn't such an address.
author Jim Hague <jim.hague@acm.org>
date Wed, 14 Aug 2013 12:04:39 +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