Added upgrade finished message
This commit is contained in:
parent
6be95a3cff
commit
21bd1657ec
|
@ -7,7 +7,7 @@ CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
OLD_PROGRAM_VERSION="v1.0x-v1.2x"
|
OLD_PROGRAM_VERSION="v1.0x-v1.2x"
|
||||||
NEW_PROGRAM_VERSION="v1.3x"
|
NEW_PROGRAM_VERSION="v1.3x"
|
||||||
CONFIG_FILE_REVISION=1.3.0
|
CONFIG_FILE_REVISION=1.3.0
|
||||||
PROGRAM_BUILD=2019090901
|
PROGRAM_BUILD=2019102101
|
||||||
|
|
||||||
## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode
|
## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode
|
||||||
if ! type "$BASH" > /dev/null; then
|
if ! type "$BASH" > /dev/null; then
|
||||||
|
@ -613,6 +613,7 @@ elif [ "$1" != "" ] && [ -f "$1" ] && [ -w "$1" ]; then
|
||||||
RenameStateFiles "$SLAVE_SYNC_DIR"
|
RenameStateFiles "$SLAVE_SYNC_DIR"
|
||||||
fi
|
fi
|
||||||
rm -f "$CONF_FILE.tmp"
|
rm -f "$CONF_FILE.tmp"
|
||||||
|
echo "Configuration file upgrade finished."
|
||||||
else
|
else
|
||||||
Usage
|
Usage
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue