Update installer switches

This commit is contained in:
billz 2024-03-09 09:17:05 +01:00
parent 9c5c0cfb88
commit 1e840abbaf
2 changed files with 3 additions and 3 deletions

View file

@ -505,7 +505,7 @@ function _prompt_install_openvpn() {
# Prompt to install restapi
function _prompt_install_restapi() {
_install_log "Configure restapi"
_install_log "Configure RestAPI"
echo -n "Install and enable RestAPI? [Y/n]: "
if [ "$assume_yes" == 0 ]; then
read answer < /dev/tty

View file

@ -40,7 +40,7 @@ OPTIONS:
-y, --yes, --assume-yes Assumes "yes" as an answer to all prompts
-c, --cert, --certificate Installs an SSL certificate for lighttpd
-o, --openvpn <flag> Used with -y, --yes, sets OpenVPN install option (0=no install)
--rest <flag> Used with -y, --yes, sets RestAPI install option (0=no install)
-s, --rest, --restapi <flag> Used with -y, --yes, sets RestAPI install option (0=no install)
-a, --adblock <flag> Used with -y, --yes, sets Adblock install option (0=no install)
-w, --wireguard <flag> Used with -y, --yes, sets WireGuard install option (0=no install)
-e, --provider <value> Used with -y, --yes, sets the VPN provider install option
@ -113,7 +113,7 @@ function _parse_params() {
ovpn_option="$2"
shift
;;
--api|--rest|--restapi)
-s|--rest|--restapi)
restapi_option="$2"
shift
;;