SCSArchiver CSStudio Engine Configuration
%CODE{"bash"}%
pluginCustomization=$ARCHIVER_CSS_TOP/pluginCustomization/%plugin_customization_file%
engine_configuration_file=%engine_configuration_file%
engine_name=%engine_name%
engine_port=%engine_port%
engine_description=%engine_description%
engine_replace=%engine_replace%
engine_steal_channels=%engine_steal_channels%
[ $engine_replace == "yes" ] && engine_replace=-replace_engine || engine_replace=""
[ $engine_steal_channels == "yes" ] && engine_steal_channels=-steal_channels || engine_steal_channels=""
#import
cd $ARCHIVER_CSS_TOP/configuration && [ -f $pluginCustomization ] && [ -f "$engine_configuration_file" ] &&
ArchiveConfigTool -pluginCustomization $pluginCustomization -import -engine $engine_name -port $engine_port -config $engine_configuration_file -description $engine_description $engine_replace
%ENDCODE%
--
PeterZumbruch - 27 Jun 2016