#!/bin/sh # 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" export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM # The environment is cleared before executing this script. PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin export PATH # If /var/log/ppp-ipupdown.log exists use it for logging. if [ -e /var/log/ppp-ipupdown.log ]; then exec >> /var/log/ppp-ipupdown.log 2>&1 fi # This script can be used to override the .d files supplied by other packages. if [ -x /etc/ppp/ipv6-up.local ]; then exec /etc/ppp/ipv6-up.local "$@" fi run-parts /etc/ppp/ipv6-up.d \ --arg="$1" --arg="$2" --arg="$3" --arg="$4" --arg="$5" --arg="$6" # if pon was called with the "quick" argument, stop pppd if [ -e /var/run/ppp-quick ]; then rm /var/run/ppp-quick wait kill $PPPD_PID fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ip-down.d | Folder | 0755 |
|
|
ip-up.d | Folder | 0755 |
|
|
ipv6-down.d | Folder | 0755 |
|
|
ipv6-up.d | Folder | 0755 |
|
|
peers | Folder | 2750 |
|
|
chap-secrets | File | 80 B | 0600 |
|
ip-down | File | 1.71 KB | 0755 |
|
ip-up | File | 1.85 KB | 0755 |
|
ipv6-down | File | 784 B | 0755 |
|
ipv6-up | File | 922 B | 0755 |
|
options | File | 12.9 KB | 0644 |
|
options.pptp | File | 2.1 KB | 0644 |
|
pap-secrets | File | 1.59 KB | 0600 |
|