mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update installer switches
This commit is contained in:
parent
9c5c0cfb88
commit
1e840abbaf
@ -505,7 +505,7 @@ function _prompt_install_openvpn() {
|
|||||||
|
|
||||||
# Prompt to install restapi
|
# Prompt to install restapi
|
||||||
function _prompt_install_restapi() {
|
function _prompt_install_restapi() {
|
||||||
_install_log "Configure restapi"
|
_install_log "Configure RestAPI"
|
||||||
echo -n "Install and enable RestAPI? [Y/n]: "
|
echo -n "Install and enable RestAPI? [Y/n]: "
|
||||||
if [ "$assume_yes" == 0 ]; then
|
if [ "$assume_yes" == 0 ]; then
|
||||||
read answer < /dev/tty
|
read answer < /dev/tty
|
||||||
|
@ -40,7 +40,7 @@ OPTIONS:
|
|||||||
-y, --yes, --assume-yes Assumes "yes" as an answer to all prompts
|
-y, --yes, --assume-yes Assumes "yes" as an answer to all prompts
|
||||||
-c, --cert, --certificate Installs an SSL certificate for lighttpd
|
-c, --cert, --certificate Installs an SSL certificate for lighttpd
|
||||||
-o, --openvpn <flag> Used with -y, --yes, sets OpenVPN install option (0=no install)
|
-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)
|
-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)
|
-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
|
-e, --provider <value> Used with -y, --yes, sets the VPN provider install option
|
||||||
@ -113,7 +113,7 @@ function _parse_params() {
|
|||||||
ovpn_option="$2"
|
ovpn_option="$2"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--api|--rest|--restapi)
|
-s|--rest|--restapi)
|
||||||
restapi_option="$2"
|
restapi_option="$2"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user