8 export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
9 [ -z "$PPP_IPPARAM" ] || env
-i ACTION
="ifup" INTERFACE
="$PPP_IPPARAM" DEVICE
="$PPP_IFACE" PROTO
=ppp
/sbin
/hotplug-call
"iface"
10 [ -z "$PPP_IPPARAM" -o -z "$PPP_LOCAL" ] ||
{
11 uci_set_state network
"$PPP_IPPARAM" ipaddr
"$PPP_LOCAL"
12 uci_set_state network
"$PPP_IPPARAM" gateway
"$PPP_REMOTE"
16 [ -d /etc
/ppp
/ip-up.d
] && {
17 for SCRIPT
in /etc
/ppp
/ip-up.d
/*
19 [ -x "$SCRIPT" ] && "$SCRIPT" $@