#!/bin/sh # # Default fetchmail ip-up script (/etc/ppp/ip-up.d/fetchmail) # # Change "try-restart" below to "start" if you only want to run fetchmail when # the PPP link is up. # if [ -x /etc/init.d/fetchmail -a ! -x /sbin/resolvconf ]; then if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d --quiet fetchmail try-restart || true else /etc/init.d/fetchmail try-restart || true fi fi