From 472319b84743b2e36d09b85eab652c9e44f21fd5 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Wed, 19 Aug 2020 06:11:52 -0600 Subject: [PATCH] add ppp executor --- executor-scripts/linux/ppp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 executor-scripts/linux/ppp diff --git a/executor-scripts/linux/ppp b/executor-scripts/linux/ppp new file mode 100755 index 0000000..ea7b085 --- /dev/null +++ b/executor-scripts/linux/ppp @@ -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