annotate debian/ip-down @ 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
53b3cb6cae3d
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
+ − 11 /usr/bin/noffle --offline
+ − 12 fi
+ − 13
+ − 14 exit 0