From 4f3aae06366d43a2b742d03f6486cc1209c85eb1 Mon Sep 17 00:00:00 2001 From: TimmThaler Date: Sat, 4 Nov 2017 16:57:42 +0100 Subject: [PATCH] added the convertIOS function for ovpn conversion --- pivpn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pivpn b/pivpn index 4b191c0..0b36010 100644 --- a/pivpn +++ b/pivpn @@ -69,6 +69,10 @@ function versionFunc { printf "\e[1mVersion 1.9\e[0m\n" } +function convertIOSFunc { + $SUDO /opt/pivpn/convertiOS.sh +} + function helpFunc { echo "::: Control all PiVPN specific functions!" echo ":::" @@ -96,6 +100,7 @@ case "$1" in "-d" | "debug" ) debugFunc;; "-l" | "list" ) listOVPNFunc;; "-r" | "revoke" ) removeOVPNFunc "$@";; +"-i" | "ios" ) convertIOSFunc;; "-h" | "help" ) helpFunc;; "-u" | "uninstall" ) uninstallFunc;; "-v" ) versionFunc;;