mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Update installer switches
This commit is contained in:
parent
9c5c0cfb88
commit
1e840abbaf
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue