diff --git a/auto_install/install.sh b/auto_install/install.sh index ed54931..421daeb 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -10,7 +10,6 @@ # curl -L https://install.pivpn.io | bash # Make sure you have `curl` installed -# timestamp 2020/5/24 15:53BST ######## VARIABLES ######### pivpnGitUrl="https://github.com/pivpn/pivpn.git" diff --git a/scripts/wireguard/pivpn.sh b/scripts/wireguard/pivpn.sh index fba567e..b157431 100755 --- a/scripts/wireguard/pivpn.sh +++ b/scripts/wireguard/pivpn.sh @@ -92,8 +92,8 @@ showHelp(){ echo "::: -l, list List all clients" echo "::: -qr, qrcode Show the qrcode of a client for use with the mobile app" echo "::: -r, remove Remove a client" - echo "::: -dis, disable Disable a user" - echo "::: -ena, enable Enable a user" + echo "::: -off, off Disable a user" + echo "::: -on , on Enable a user" echo "::: -h, help Show this help dialog" echo "::: -u, uninstall Uninstall pivpn from your system!" echo "::: -up, update Updates PiVPN Scripts" @@ -113,11 +113,11 @@ case "$1" in "-l" | "list" ) listClients;; "-qr" | "qrcode" ) showQrcode "$@";; "-r" | "remove" ) removeClient "$@";; -"-dis" | "disable" ) disableClient "$@";; -"-ena" | "enable" ) enableClient "$@";; +"-off" | "off" ) disableClient "$@";; +"-on" | "on" ) enableClient "$@";; "-h" | "help" ) showHelp;; "-u" | "uninstall" ) uninstallServer;; "-up" | "update" ) updateScripts "$@" ;; "-bk" | "backup" ) backup ;; -* ) showHelp;; +* ) showHelp;; esac