1) Boot time script run once if present
- /rap/rce/upg/run_once
- After successful run /rap/rce/upg/run_once renamed with /rap/rce/upg/run_once.done

2) Boot time upgrade (stg1) upgrade
- /rap/rce/upg/rce_upg_stg2_hook.upg copied to /rap/rce/etc/rap/rce_upg_stg2_hook and renamed to /rap/rce/upg/rce_upg_stg2_hook.upg.done
- /rap/rce/upg/rce_upg_stg2.upg copied to /rap/rce/etc/rap/rce_upg_stg2 and renamed to /rap/rce/upg/rce_upg_stg2.upg.done
 
3) Run time upgrade (stg2), direct copy/replace of extracted /rap/rce/upg/rce_xxx.zip contents over /rap/rce folder except with the exception of upgrades mentioned in 2 
Usually following files
- /rap/rce/etc/rap/rce_upg_stg1
- /rap/rce/etc/rap/rce_app
- /rap/rce/bin/*
4) Run time script run once if present 
- /rap/rce/upg/rce_live_runonce
- After successful run /rap/rce/upg/run_live_once renamed with /rap/rce/upg/run_live_once.done

4) rce_xxx.zip upgrade file preparation
- rce_xxx.zip folder must include top level directory "rce", zipped as rce.zip and then renamed to rce_xxx.zip
- upgrade files must be copied to /rap/rce/upg/*
- copy upginfo.ini with information on upgrade file as followsd

[upginfo]
;this is the variable we want
upg_file=rce_100.zip
restart_required=1
is_upgrade=1

4) Upgrade /etc/rap/var - Not available
