aboutsummaryrefslogtreecommitdiffstats
path: root/debian/fetchmail.ppp.ip-up
blob: 3950a32ab9784338a715ecfcdd4a339e5c62a218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Default fetchmail ip-up script (/etc/ppp/ip-up.d/fetchmail)
#
# Change "try-restart" below to "start"
# and remove "-a ! -x /sbin/resolvconf"
# if you only want to run fetchmail when
# the PPP link is up.
#

if [ -x /etc/init.d/fetchmail -a ! -x /sbin/resolvconf ]; then
    invoke-rc.d --quiet fetchmail try-restart || true
fi