add ppp executor

This commit is contained in:
Ariadne Conill 2020-08-19 06:11:52 -06:00
parent 0dd8dc1b0e
commit 472319b847

7
executor-scripts/linux/ppp Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
set -e
[ -z "$IF_PPP_PROVIDER" ] && exit 0
case "$PHASE" in
pre-up) ${MOCK} pon $IF_PPP_PROVIDER ;;
post-down) ${MOCK} poff $IF_PPP_PROVIDER ;;
esac