mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-20 03:40: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"
|
||||
}
|
||||
|
||||
function convertIOSFunc {
|
||||
$SUDO /opt/pivpn/convertiOS.sh
|
||||
function convertconnectFunc {
|
||||
$SUDO /opt/pivpn/convert.openvpnconnect.sh
|
||||
}
|
||||
|
||||
function helpFunc {
|
||||
|
@ -84,6 +84,7 @@ function helpFunc {
|
|||
echo "::: -d, debug Start a debugging session if having trouble"
|
||||
echo "::: -l, list List all valid and revoked certificates"
|
||||
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 "::: -u, uninstall Uninstall PiVPN from your system!"
|
||||
exit 1
|
||||
|
@ -100,7 +101,7 @@ case "$1" in
|
|||
"-d" | "debug" ) debugFunc;;
|
||||
"-l" | "list" ) listOVPNFunc;;
|
||||
"-r" | "revoke" ) removeOVPNFunc "$@";;
|
||||
"-i" | "ios" ) convertIOSFunc;;
|
||||
"-o" | "ovpncon" ) convertconnectFunc;;
|
||||
"-h" | "help" ) helpFunc;;
|
||||
"-u" | "uninstall" ) uninstallFunc;;
|
||||
"-v" ) versionFunc;;
|
||||
|
|
Loading…
Reference in a new issue