#!/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