9 export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
10 [ -z "$PPP_IPPARAM" ] ||
{
11 env
-i ACTION
="ifdown" INTERFACE
="$PPP_IPPARAM" DEVICE
="$PPP_IFACE" PROTO
=ppp
/sbin
/hotplug-call
"iface"
13 # remove the interface's network state
14 uci_revert_state network
"$PPP_IPPARAM"
17 [ -d /etc
/ppp
/ip-down.d
] && {
18 for SCRIPT
in /etc
/ppp
/ip-down.d
/*
20 [ -x "$SCRIPT" ] && "$SCRIPT" $@