mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Better process handling
This commit is contained in:
parent
2f21bddd94
commit
98daf0a893
@ -12,7 +12,8 @@
|
|||||||
- No new Star Trek references.
|
- No new Star Trek references.
|
||||||
|
|
||||||
#### 1.7.8
|
#### 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
|
#### 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.
|
- `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.
|
||||||
|
@ -845,7 +845,7 @@ function intent_validate {
|
|||||||
INTENT="ENGAGE TRACTOR BEAM"
|
INTENT="ENGAGE TRACTOR BEAM"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MESSAGE="Enter ${INTENT} at this prompt to confirm"
|
MESSAGE="Type ${INTENT} to Confirm"
|
||||||
echo_need
|
echo_need
|
||||||
|
|
||||||
read INPUT_INTENT
|
read INPUT_INTENT
|
||||||
@ -872,7 +872,7 @@ function config_generate {
|
|||||||
cp $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}.example $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
|
cp $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}.example $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
|
||||||
error_validate
|
error_validate
|
||||||
|
|
||||||
MESSAGE="IP or DNS of primary Pi-hole"
|
MESSAGE="IP or DNS of Primary Pi-hole"
|
||||||
echo_need
|
echo_need
|
||||||
read INPUT_REMOTE_HOST
|
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}"
|
MESSAGE="Before proceeding reference ${BLUE}https://github.com/vmstan/gravity-sync/blob/master/ADVANCED.md#ssh-configuration${NC}"
|
||||||
echo_info
|
echo_info
|
||||||
|
|
||||||
MESSAGE="Leave blank to use SSH Key-Pair"
|
MESSAGE="Leave password blank to use key-pair! (reccomended)"
|
||||||
echo_warn
|
echo_warn
|
||||||
|
|
||||||
MESSAGE="SSH User Password"
|
MESSAGE="SSH User Password"
|
||||||
|
Loading…
Reference in New Issue
Block a user