mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
or
This commit is contained in:
parent
1092db143e
commit
719d2bf077
@ -1381,7 +1381,7 @@ function config_generate {
|
|||||||
echo_need
|
echo_need
|
||||||
read INPUT_SSH_PORT
|
read INPUT_SSH_PORT
|
||||||
|
|
||||||
if [ -z "${INPUT_SSH_PORT}" ] || [ "${INPUT_SSH_PORT}" != "22" ]
|
if [[ -z "${INPUT_SSH_PORT}" || "${INPUT_SSH_PORT}" != "22" ]]
|
||||||
then
|
then
|
||||||
MESSAGE="Saving Custom SSH Port to ${CONFIG_FILE}"
|
MESSAGE="Saving Custom SSH Port to ${CONFIG_FILE}"
|
||||||
echo_stat
|
echo_stat
|
||||||
@ -1393,7 +1393,7 @@ function config_generate {
|
|||||||
echo_need
|
echo_need
|
||||||
read INPUT_PING_AVOID
|
read INPUT_PING_AVOID
|
||||||
|
|
||||||
if [ -z "${INPUT_PING_AVOID}" ] || [ "${INPUT_PING_AVOID}" != "Yes" ] || [ "${INPUT_PING_AVOID}" != "yes" ] || [ "${INPUT_PING_AVOID}" != "Y" ] || [ "${INPUT_PING_AVOID}" != "y" ]
|
if [[ -z "${INPUT_PING_AVOID}" || [ "${INPUT_PING_AVOID}" != "Yes" || "${INPUT_PING_AVOID}" != "yes" || "${INPUT_PING_AVOID}" != "Y" || [ "${INPUT_PING_AVOID}" != "y" ]]
|
||||||
then
|
then
|
||||||
MESSAGE="Saving Ping Avoidance to ${CONFIG_FILE}"
|
MESSAGE="Saving Ping Avoidance to ${CONFIG_FILE}"
|
||||||
echo_stat
|
echo_stat
|
||||||
|
Loading…
Reference in New Issue
Block a user