mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 11:50:17 +00:00
Update pivpn
Changed function name and added description to helpFunc
This commit is contained in:
parent
1f20cb4583
commit
8e3fa6af78
1 changed files with 4 additions and 3 deletions
7
pivpn
7
pivpn
|
@ -69,8 +69,8 @@ function versionFunc {
|
||||||
printf "\e[1mVersion 1.9\e[0m\n"
|
printf "\e[1mVersion 1.9\e[0m\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
function convertIOSFunc {
|
function convertconnectFunc {
|
||||||
$SUDO /opt/pivpn/convertiOS.sh
|
$SUDO /opt/pivpn/convert.openvpnconnect.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
function helpFunc {
|
function helpFunc {
|
||||||
|
@ -84,6 +84,7 @@ function helpFunc {
|
||||||
echo "::: -d, debug Start a debugging session if having trouble"
|
echo "::: -d, debug Start a debugging session if having trouble"
|
||||||
echo "::: -l, list List all valid and revoked certificates"
|
echo "::: -l, list List all valid and revoked certificates"
|
||||||
echo "::: -r, revoke Revoke a client ovpn profile"
|
echo "::: -r, revoke Revoke a client ovpn profile"
|
||||||
|
echo "::: -o, ovpncon Convert your ovpn file to use with the OpenVPN Connect app"
|
||||||
echo "::: -h, help Show this help dialog"
|
echo "::: -h, help Show this help dialog"
|
||||||
echo "::: -u, uninstall Uninstall PiVPN from your system!"
|
echo "::: -u, uninstall Uninstall PiVPN from your system!"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -100,7 +101,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;;
|
"-o" | "ovpncon" ) convertconnectFunc;;
|
||||||
"-h" | "help" ) helpFunc;;
|
"-h" | "help" ) helpFunc;;
|
||||||
"-u" | "uninstall" ) uninstallFunc;;
|
"-u" | "uninstall" ) uninstallFunc;;
|
||||||
"-v" ) versionFunc;;
|
"-v" ) versionFunc;;
|
||||||
|
|
Loading…
Reference in a new issue