mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-21 04:10:20 +00:00
added the convertIOS function for ovpn conversion
This commit is contained in:
parent
6f06b42490
commit
4f3aae0636
1 changed files with 5 additions and 0 deletions
5
pivpn
5
pivpn
|
@ -69,6 +69,10 @@ function versionFunc {
|
||||||
printf "\e[1mVersion 1.9\e[0m\n"
|
printf "\e[1mVersion 1.9\e[0m\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function convertIOSFunc {
|
||||||
|
$SUDO /opt/pivpn/convertiOS.sh
|
||||||
|
}
|
||||||
|
|
||||||
function helpFunc {
|
function helpFunc {
|
||||||
echo "::: Control all PiVPN specific functions!"
|
echo "::: Control all PiVPN specific functions!"
|
||||||
echo ":::"
|
echo ":::"
|
||||||
|
@ -96,6 +100,7 @@ case "$1" in
|
||||||
"-d" | "debug" ) debugFunc;;
|
"-d" | "debug" ) debugFunc;;
|
||||||
"-l" | "list" ) listOVPNFunc;;
|
"-l" | "list" ) listOVPNFunc;;
|
||||||
"-r" | "revoke" ) removeOVPNFunc "$@";;
|
"-r" | "revoke" ) removeOVPNFunc "$@";;
|
||||||
|
"-i" | "ios" ) convertIOSFunc;;
|
||||||
"-h" | "help" ) helpFunc;;
|
"-h" | "help" ) helpFunc;;
|
||||||
"-u" | "uninstall" ) uninstallFunc;;
|
"-u" | "uninstall" ) uninstallFunc;;
|
||||||
"-v" ) versionFunc;;
|
"-v" ) versionFunc;;
|
||||||
|
|
Loading…
Reference in a new issue