Better process handling

This commit is contained in:
Michael Stanclift 2020-06-02 14:54:09 -05:00
parent 2f21bddd94
commit 98daf0a893
2 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,8 @@
- No new Star Trek references.
#### 1.7.8
- Removes INFO that SSHPASS is not installed during config, if it's not needed.
- Removes INFO that SSHPASS is not installed during config, if it's not needed. Redirects user to documentation.
- Better error handling of configuration options.
#### 1.7.7
- `config` function will attempt to ping remote host to validate network connection, can by bypassed by adding `PING_AVOID='1'` to your `gravity-sync.conf` file.

View File

@ -845,7 +845,7 @@ function intent_validate {
INTENT="ENGAGE TRACTOR BEAM"
fi
MESSAGE="Enter ${INTENT} at this prompt to confirm"
MESSAGE="Type ${INTENT} to Confirm"
echo_need
read INPUT_INTENT
@ -872,7 +872,7 @@ function config_generate {
cp $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}.example $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
error_validate
MESSAGE="IP or DNS of primary Pi-hole"
MESSAGE="IP or DNS of Primary Pi-hole"
echo_need
read INPUT_REMOTE_HOST
@ -909,7 +909,7 @@ function config_generate {
MESSAGE="Before proceeding reference ${BLUE}https://github.com/vmstan/gravity-sync/blob/master/ADVANCED.md#ssh-configuration${NC}"
echo_info
MESSAGE="Leave blank to use SSH Key-Pair"
MESSAGE="Leave password blank to use key-pair! (reccomended)"
echo_warn
MESSAGE="SSH User Password"