added the convertIOS function for ovpn conversion

This commit is contained in:
TimmThaler 2017-11-04 16:57:42 +01:00 committed by GitHub
parent 6f06b42490
commit 4f3aae0636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
pivpn
View file

@ -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;;