Add set_property() function to load properties from versioning files.

This commit is contained in:
Tristan Donkers 2015-08-23 09:56:54 +10:00
parent ce0ea447a4
commit a0850d7595

View File

@ -4043,6 +4043,13 @@ console_command() {
eval SERVER_CONSOLE_COMMAND_TIMEOUT_${command_name}[$VERSIONING_SERVER_ID]=\"$command_timeout\"
}
# Defines a servers property variables, VERSIONING_SERVER_ID
# must be set before calling this function
# $1: The name of the property
# $2: The value of the property
set_property() {
server_set_property "$VERSIONING_SERVER_ID" "$1" "$2"
}