add ppp executor
This commit is contained in:
parent
0dd8dc1b0e
commit
472319b847
1 changed files with 7 additions and 0 deletions
7
executor-scripts/linux/ppp
Executable file
7
executor-scripts/linux/ppp
Executable 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
|
Loading…
Reference in a new issue