Your IP : 216.73.216.170


Current Path : /var/www/iplanru/data/www/intesco.ru/d59ed/
Upload File :
Current File : /var/www/iplanru/data/www/intesco.ru/d59ed/ip-up.d.tar

sendmail000066600000002435150771466520006310 0ustar00#!/bin/sh
#
# This script is called when ppp connects to the network.
#		 
# Here is where we'll start sendmail if needed.
#
# Written By Richard Nelson <cowboy@debian.org>
#
# NOTE: The following lines (without the #) must be in /etc/mail/sendmail.mc:
# include(`/etc/mail/dialup.m4')dnl
# include(`/etc/mail/provider.m4')dnl
#
# ALSO: make sure ipparam is specified somewhere in the ppp options;
#		it will be used as the name of a file in /etc/mail/peers
#

# Define our domain name (from PPP) for sendmail.

# These variables are for the use of the scripts run by run-parts
#PPP_IFACE="$1";
#PPP_TTY="$2";
#PPP_SPEED="$3";
#PPP_LOCAL="$4";
#PPP_REMOTE="$5";
#PPP_IPPARAM="$6";

if [ ! -z "$PPP_LOCAL" ]; then
	addr=$PPP_LOCAL;
	provider=$PPP_IPPARAM;
	iface=$PPP_IFACE;
else
	addr=$1;
	provider=$2;
	iface=$3;
	fi;

if [ -z "$provider" ]; then
	exit 0;
	fi;

# Bring in some script functions to handle dynamic configuration
. /usr/share/sendmail/dynamic;

# Note the interface that just changed
update_interface "$iface" "BOUND";

# If the domain name has changed, update the provider information
update_provider "$provider";

# If the ip address has changed, update the host information
update_host "$addr";

# If anything has been changed, update sendmail.cf and reload
update_sendmail "ppp";

exit 0;

exim4000066600000000445150771466520005541 0ustar00#!/bin/sh

if [ -n "$EX4DEBUG" ]; then
  echo "now debugging $0 $@"
  set -x
fi

[ -x /usr/lib/exim4/exim4 ] || exit 0

[ -f /etc/default/exim4 ] && . /etc/default/exim4

if [ "${QUEUERUNNER}" != "no" ] ; then
# Flush exim queue
	/usr/sbin/exim4 -qqf ${QUEUERUNNEROPTIONS} ${COMMONOPTIONS}
fi
fetchmail000066600000000607150771466520006447 0ustar00#!/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
clamav-freshclam-ifupdown000066600000003215150771466520011547 0ustar00#!/bin/sh
# 2004-01-25, Thomas Lamy <thomas.lamy@in-online.net>
# From Magnus Ekdahl's <magnus@debian.org> clamav-freshclam-handledaemon(8)

set -e

[ -e /var/lib/clamav/interface ] || exit 0

INIT=/etc/init.d/clamav-freshclam
CLAMAV_CONF_FILE=/etc/clamav/clamd.conf
FRESHCLAM_CONF_FILE=/etc/clamav/freshclam.conf

INTERNETIFACE=`cat /var/lib/clamav/interface`

if grep -q freshclam /proc/*/stat 2>/dev/null; then
  IS_RUNNING=true
else
  IS_RUNNING=false
fi

# $IFACE is set by ifup/down, $PPP_IFACE by pppd 
[ -n "$PPP_IFACE" ] && IFACE=$PPP_IFACE

# This is sloppy - woody's pppd exports variables, while sid's passes them as 
# arguments and exports them.

if [ "$1" = "$IFACE" ]; then # We're called by sid's pppd
  shift 6                    # and we already know the interface
fi                           # Dump the arguments passed.

if [ -z "$1" ]; then
  case $(dirname "$0") in
    */if-up.d|*/ip-up.d)
    # Short circuit and exit early if freshclam is already running
    [ "$IS_RUNNING" = 'true' ] && exit 0
    for interface in $INTERNETIFACE; do
      if [ "$interface" = "$IFACE" ]; then
	FMODE=start
	break
      else
	FMODE=skip
      fi
    done
    ;;
    */if-down.d|*/ip-down.d)
    # Short circuit and exit early if freshclam is not already running
    [ "$IS_RUNNING" = 'false' ] && exit 0
    for interface in $INTERNETIFACE; do
      if [ "$interface" = "$IFACE" ]; then
	FMODE=stop
	break
      else
	FMODE=skip
      fi
    done
    ;;
    *)
    FMODE=skip
    ;;
  esac
else
  FMODE="$1"
fi

case "$FMODE" in
  start|stop)
  IFACE="$IFACE" $INIT $FMODE
  ;;
  skip)
  ;;
  *)
  echo "Usage: $0 {start|stop|skip}" >&2
  exit 1
  ;;
esac

exit 0

bind9000066600000000441150771466520005514 0ustar00#!/bin/sh -e
# Called when a new interface comes up
# Written by LaMont Jones <lamont@debian.org>

# kick named as needed

# If /usr isn't mounted yet, silently bail.
if [ ! -d /usr/sbin ]; then
	exit 0
fi

# if named is running, reconfig it.
rndc reconfig >/dev/null 2>&1 || true

exit 0