zenith/docker_files/bin/startzen
Rene Vergara A b142028c9f zrpc-docker - Milestone 3 -> Docker Image Gerneration
Final version
	      includes : Option for starting  GUI
	                 Option for starting  RPC Server
                         Option for starting  expert mode
2024-11-26 19:21:12 -05:00

9 lines
341 B
Bash
Executable file

#!/bin/bash
if [ x"${EXPERT_MODE}" == "x0" ] && [ x"${RPC_SERVER}" == "x0" ]; then
zenith gui
elif [ x"${RPC_SERVER}" == "x1" ] && ( [ x"${EXPERT_MODE}" == "x0" ] || [ x"${EXPERT_MODE}" == "x1" ] ); then
zenithserver
else
# xterm -geometry 90x55 -fs 10 -fa DejaVuSansMono -cr green -bg black -fg lightgray
/bin/bash -l
fi