File: ip-up

package info (click to toggle)
fetchmail 6.2.5-12sarge5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,048 kB
  • ctags: 2,362
  • sloc: ansic: 19,329; sh: 3,735; python: 1,797; perl: 564; makefile: 501; yacc: 461; lex: 262; awk: 124; sed: 93; lisp: 84
file content (11 lines) | stat: -rw-r--r-- 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/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
	/etc/init.d/fetchmail try-restart
fi