#!/bin/sh
#
# selectaes [AES selector - YesCREW 2021-2024 v0.05]
#
#

#
#  Set paths for your setups here:
#

# N.AES setup aka set 1						
startnaes='/usr/local/sbin/startnaes'			# path to NAES start script

#------------------------------------------------
# XaAES setup aka set 2
startxaaes='/usr/local/sbin/startxaaes'			# path to XAAES start script						
							
#------------------------------------------------
# MyAES setup aka set 3
startmyaes='/usr/local/sbin/startmyaes'    	        # path to MYAES start script

#-------------------------------------------------
# MULTITOS setup aka set 4
startmtos='/usr/local/sbin/startmtos'			# path to MULTITOS start script


# Menu
# Edit those lines, so Menu will match your choices

echo
echo
echo
echo '  1 = Start N.AES    : ' $startnaes 
echo '  2 = Start XaAES    : ' $startxaaes 
echo '  3 = Start MyAES    : ' $startmyaes
echo '  4 = Start MultiTOS : ' $startmtos       
echo       
 
 
read -n1 -p'  Select  AES [1/2/3/4/cr] : ' aes		# read 1 character from keyboard
    
# set 1 
if [ "$aes" = "1" ] ; then				# IF input = "1"
	echo						# empty line, cosmetic touch
	echo						# empty line, cosmetic touch
       	$startnaes
fi							# ENDIF

# set 2								
if [ "$aes" = "2" ] ; then				# IF input = "2"
	echo						# empty line, cosmetic touch
	echo						# empty line, cosmetic touch
   	$startxaaes					# execute startxaaes variable (aes loader)
fi							# ENDIF

# set 3								
if [ "$aes" = "3" ] ; then				# IF input = "3"
   	echo						# empty line, cosmetic touch
	echo						# empty line, comsetic touch
	$startmyaes					# execute startmyaes variable (aes loader)
fi							# ENDIF


# set 4  EMPTY
if [ "$aes" = "4" ] ; then				# IF input = "4"
   	echo						# empty line, cosmetic touch
	echo						# empty line, cosmetic touch
	$startmtos
fi							# ENDIF



echo
