mirror of
https://github.com/vmstan/gravity-sync.git
synced 2025-06-23 14:20:32 -04:00
Move script_start to very first line
This commit is contained in:
parent
5ba9da0f3b
commit
be5afa2d7b
@ -15,6 +15,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.
|
||||||
- Changes some [INFO] messages to [WARN] where approprate
|
- Changes some [INFO] messages to [WARN] where approprate
|
||||||
- Adds aliases for more GS functions
|
- Adds aliases for more GS functions
|
||||||
|
- Shows current version on each script execution
|
||||||
|
|
||||||
#### 1.7.6
|
#### 1.7.6
|
||||||
- Detects `dbclient` install as alternative to OpenSSH Client.
|
- Detects `dbclient` install as alternative to OpenSSH Client.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
SCRIPT_START=$SECONDS
|
||||||
|
|
||||||
# GRAVITY SYNC BY VMSTAN #####################
|
# GRAVITY SYNC BY VMSTAN #####################
|
||||||
PROGRAM='Gravity Sync'
|
PROGRAM='Gravity Sync'
|
||||||
@ -1284,7 +1285,6 @@ function echo_need {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# SCRIPT EXECUTION ###########################
|
# SCRIPT EXECUTION ###########################
|
||||||
SCRIPT_START=$SECONDS
|
|
||||||
|
|
||||||
MESSAGE="${PROGRAM} ${VERSION} Executing"
|
MESSAGE="${PROGRAM} ${VERSION} Executing"
|
||||||
echo_info
|
echo_info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user