diff options
Diffstat (limited to 'projectroot/usr/bin/pon')
-rw-r--r-- | projectroot/usr/bin/pon | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/projectroot/usr/bin/pon b/projectroot/usr/bin/pon new file mode 100644 index 000000000..70b86a9f4 --- /dev/null +++ b/projectroot/usr/bin/pon @@ -0,0 +1,15 @@ +#!/bin/sh + +PROVIDER="${1}" + +if [ -z "${PROVIDER}" ]; then + if [ -n "${IF_PROVIDER}" ]; then + PROVIDER="${IF_PROVIDER}" + else + PROVIDER=provider + fi +else + shift +fi + +exec start-stop-daemon -S -x /usr/sbin/pppd -- call "${PROVIDER}" "${@}" |