Skip to content
Snippets Groups Projects
Commit b9be3948 authored by Giuseppe Carboni's avatar Giuseppe Carboni Committed by GitHub
Browse files

Fix #520, `discos` command updated with geometry (#521)

parent 13f14c62
No related branches found
No related tags found
No related merge requests found
#! /bin/bash
# *********************************************************************************************
# ***********************************************************************
# IRA Istituto di Radioastronomia
#
#
......@@ -7,36 +7,18 @@
#
# Who when What
# Andrea Orlati(andrea.orlati@inaf.it) 28/06/2018 Creation
# Giuseppe Carboni(giuseppe.carboni@inaf.it) 25/02/2020 Update
#************************************************************************
# NAME
#
# SYNOPSIS
#
# DESCRIPTION
#
# FILES
#
# ENVIRONMENT
#
# RETURN VALUES
#
# CAUTIONS
#
# EXAMPLES
#
# SEE ALSO
#
# BUGS
#
LONGOPTS=start,view,help
SHORTOPTS=svh
CL_START=
CL_VIEW=
CL_HELP=
GEOMETRY=1920x1080x0x0
function printUsage {
echo "Gets the ESCS system started, management priviledges are needed"
echo "Starts the DISCOS constrol system"
echo ""
echo "Usage: `basename $0` [OPTIONS] "
echo "Options: "
......@@ -88,12 +70,12 @@ if [ "$CL_HELP" ] ; then
fi
if [ "$CL_START" ] ; then
acscommandcenter -r $INTROOT/app-defaults/discosStartup.xml &
acscommandcenter -g $GEOMETRY -r $INTROOT/app-defaults/discosStartup.xml &
exit
fi
if [ "$CL_VIEW" ] ; then
acscommandcenter -r $INTROOT/app-defaults/discosStartup.xml $MANAGER &
acscommandcenter -g $GEOMETRY -r $INTROOT/app-defaults/discosStartup.xml $MANAGER &
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment