# Install.cmd script for the FactoryWare Communication Option
# Site dependent default config files
if -var 27 -value 10 -label END_LABEL
echo -text "Installing option RAP"
#
# Install SCWrite Instruction, mmc cfg file and text file
#
config -filename  $BOOTPATH/sysrap.cfg -domain SYS -internal
config -filename  $BOOTPATH/rlsc.cfg -domain MMC -internal
text -filename  $BOOTPATH/rlsc.eng -package 0
#
# Install the RAP function, cfg Files for RAP and rap english file
#
include -path $BOOTPATH/fac.cmd
config -filename  $BOOTPATH/com_rapi.cfg -domain SIO -internal


ifvc -label RAP_DEFAULT_CONFIG
goto -label NO_DEFAULT_CONFIG
#RAP_DEFAULT_CONFIG
config -filename $BOOTPATH/com_rap.cfg -domain SIO
#NO_DEFAULT_CONFIG

text -filename  $BOOTPATH/rap.$LANG -package 0

setvar -var 27 -value 10
#END_LABEL
