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 (2013-08-14)
parents
146e6cfe86ba
children
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
340
+ − 8 [ -f /etc/default/noffle ] && . /etc/default/noffle || :
301
+ − 9
334
+ − 10 if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then
384
+ − 11 /usr/bin/noffle --online
+ − 12 /usr/bin/noffle --fetch &
334
+ − 13 fi
+ − 14
+ − 15 exit 0