Debian Codegraph @

debian/extra/ipv6-down

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # The environment is cleared before executing this script
4 # so the path must be reset.
5 PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/binscip-shell filesystem . . `/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin`.
6 export PATH
7
8 # These variables are for the use of the scripts run by run-parts
9 PPP_IFACE="$1"
10 PPP_TTY="$2"
11 PPP_SPEED="$3"
12 PPP_LOCAL="$4"
13 PPP_REMOTE="$5"
14 PPP_IPPARAM="$6"
15 export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
16
17 # If /var/log/ppp-ipupdown.log exists use it for logging.
18 if [scip-shell system . . `[`. -e /var/log/ppp-ipupdown.logscip-shell filesystem . . `/var/log/ppp-ipupdown.log`. ]; then
19 exec >> /var/log/ppp-ipupdown.logscip-shell filesystem . . `/var/log/ppp-ipupdown.log`. 2>&1
20 echoscip-shell system . . echo. "$0" "$@"
21 echoscip-shell system . . echo.
22 fi
23
24 # This script can be used to override the .d files supplied by other packages.
25 if [scip-shell system . . `[`. -x /etc/ppp/ipv6-down.localscip-shell filesystem . . `/etc/ppp/ipv6-down.local`. ]; then
26 exec /etc/ppp/ipv6-down.localscip-shell filesystem . . `/etc/ppp/ipv6-down.local`. "$@"
27 fi
28
29 run-partsscip-shell system . . run-parts. /etc/ppp/ipv6-down.dscip-shell filesystem . . `/etc/ppp/ipv6-down.d`. \
30 --arg="$1" --arg="$2" --arg="$3" --arg="$4" --arg="$5" --arg="$6"