ppp: add support for ifupdown2 ppp-physdev for dependency learning

This commit is contained in:
Ariadne Conill 2020-08-19 06:16:37 -06:00
parent c2465344d5
commit e18ab114e0

View file

@ -4,4 +4,5 @@ set -e
case "$PHASE" in case "$PHASE" in
pre-up) ${MOCK} pon $IF_PPP_PROVIDER ;; pre-up) ${MOCK} pon $IF_PPP_PROVIDER ;;
post-down) ${MOCK} poff $IF_PPP_PROVIDER ;; post-down) ${MOCK} poff $IF_PPP_PROVIDER ;;
depend) echo "$IF_PPP_PHYSDEV" ;;
esac esac