Файловый менеджер - Редактировать - /var/www/iplanru/data/www/intesco.ru/d59ed/ip-down.d.tar
Назад
sendmail 0000666 00000002071 15077127734 0006304 0 ustar 00 #!/bin/sh # # This script is called when ppp disconnects from the network. # # Here is where we'll stop 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 # # 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" "STOP"; # If anything has been changed, update sendmail.cf and reload # Actually, we'll delay the reload because we'll be hit in a moment # to handle the change by /etc/network/if-up.d/sendmail update_sendmail "ppp" Delayed; exit 0; fetchmail 0000666 00000000544 15077127734 0006447 0 ustar 00 #!/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 if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d --quiet fetchmail stop || true else /etc/init.d/fetchmail stop || true fi fi clamav-freshclam-ifupdown 0000666 00000003215 15077127734 0011547 0 ustar 00 #!/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 bind9 0000666 00000000441 15077127734 0005514 0 ustar 00 #!/bin/sh -e # Called when an interface disconnects # 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
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка