File: fetchmail.ppp.ip-up

package info (click to toggle)
fetchmail 6.4.39-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,572 kB
  • sloc: ansic: 30,550; sh: 6,533; python: 2,230; perl: 564; yacc: 459; lex: 285; makefile: 262; awk: 124; lisp: 84; exp: 43; sed: 16
file content (13 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (4)
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