mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
And then
This commit is contained in:
parent
98daf0a893
commit
920099044f
@ -906,6 +906,7 @@ function config_generate {
|
|||||||
MESSAGE="SSHPASS Utility Detected"
|
MESSAGE="SSHPASS Utility Detected"
|
||||||
echo_warn
|
echo_warn
|
||||||
if hash ssh 2>/dev/null
|
if hash ssh 2>/dev/null
|
||||||
|
then
|
||||||
MESSAGE="Before proceeding reference ${BLUE}https://github.com/vmstan/gravity-sync/blob/master/ADVANCED.md#ssh-configuration${NC}"
|
MESSAGE="Before proceeding reference ${BLUE}https://github.com/vmstan/gravity-sync/blob/master/ADVANCED.md#ssh-configuration${NC}"
|
||||||
echo_info
|
echo_info
|
||||||
|
|
||||||
@ -921,6 +922,7 @@ function config_generate {
|
|||||||
sed -i "/REMOTE_PASS=''/c\REMOTE_PASS='${INPUT_REMOTE_PASS}'" $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
|
sed -i "/REMOTE_PASS=''/c\REMOTE_PASS='${INPUT_REMOTE_PASS}'" $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
|
||||||
error_validate
|
error_validate
|
||||||
elif hash dbclient 2>/dev/null
|
elif hash dbclient 2>/dev/null
|
||||||
|
then
|
||||||
MESSAGE="Dropbear SSH Detected"
|
MESSAGE="Dropbear SSH Detected"
|
||||||
echo_warn
|
echo_warn
|
||||||
MESSAGE="Skipping Password Setup"
|
MESSAGE="Skipping Password Setup"
|
||||||
|
Loading…
Reference in New Issue
Block a user