File: fetchmail.ppp.ip-down

package info (click to toggle)
fetchmail 6.6.2-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,912 kB
  • sloc: ansic: 19,458; sh: 7,133; python: 2,395; perl: 564; yacc: 447; lex: 286; makefile: 261; awk: 124; lisp: 84; exp: 43; sed: 17
file content (13 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Default fetchmail ip-down script (/etc/ppp/ip-down.d/fetchmail)
#
# Remove the "exit 0" line if you want only want to run fetchmail when the
# PPP link is up.
#

exit 0

if [ -x /etc/init.d/fetchmail ]; then
    invoke-rc.d --quiet fetchmail stop || true
fi