#
#usage: 
#
# copy /flash/run_se.example into /flash/run_se and uncomment ONLY the DESIRED case 	

# command:
# trswStartup_init 1 x

# x option:
#	 6:IPSE_1_ABISSE_1
#	 7:IPSE_2_ABISSE_1
#	 8:ONLY_IP_SE
#	 9:ONLY_ABISSE
#	10:ONLY_ABISSE_2
#	11:IPSE_1_ABISSE_2

#################################################
#	uncomment ONLY the DESIRED case 	#
#################################################

########################## start ONLY IPSE
#	echo "Abisse not started ..." >& $TRS_BIN_LOG
#	${TRS_BIN_DEST}/trswStartup_init 1 8 >> $TRS_BIN_LOG 2>&1
#	TRS_BIN_RES=$?

########################## start ONLY ABISSE (1 core)
#	echo "Ipse not started ... Abisse on 1 core" >& $TRS_BIN_LOG
#	${TRS_BIN_DEST}/trswStartup_init 1 9 >> $TRS_BIN_LOG 2>&1
#	TRS_BIN_RES=$?

########################## start ONLY ABISSE (2 cores)
#	echo "Ipse not started ... Abisse on 2 cores" >& $TRS_BIN_LOG
#	${TRS_BIN_DEST}/trswStartup_init 1 10 >> $TRS_BIN_LOG 2>&1
#	TRS_BIN_RES=$?

########################## start 1_IPSE_and_1_ABISSE

#	${TRS_BIN_DEST}/trswStartup_init 1 9 > $TRS_BIN_LOG 2>&1
#	TRS_BIN_RES=$?
#	if [ "$TRS_BIN_RES" == "0" ]; then
#		sleep 5
#		${TRS_BIN_DEST}/trswStartup_init 1 8 >> $TRS_BIN_LOG 2>&1
#		TRS_BIN_RES=$?
#	fi

#################################################
#	OLD: AT ONCE STARTUP (IPSE first)	#
#################################################

########################## ABISSE on 1 core
#	${TRS_BIN_DEST}/trswStartup_init 1 6 >& $TRS_BIN_LOG
#	TRS_BIN_RES=$?

########################## ABISSE on 2 cores
#	${TRS_BIN_DEST}/trswStartup_init 1 11 >& $TRS_BIN_LOG
#	TRS_BIN_RES=$?
