From b9be394881f82eda3d192e234175b5bdefad9626 Mon Sep 17 00:00:00 2001 From: Giuseppe Carboni Date: Wed, 26 Feb 2020 13:57:49 +0100 Subject: [PATCH] Fix #520, `discos` command updated with geometry (#521) --- Common/Misc/Scripts/src/discos | 40 ++++++++++------------------------ 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/Common/Misc/Scripts/src/discos b/Common/Misc/Scripts/src/discos index 86920a6eb..fe5786d47 100644 --- a/Common/Misc/Scripts/src/discos +++ b/Common/Misc/Scripts/src/discos @@ -1,42 +1,24 @@ #! /bin/bash -# ********************************************************************************************* -# IRA Istituto di Radioastronomia +# *********************************************************************** +# IRA Istituto di Radioastronomia # # -# This code is under GNU General Public Licence (GPL). -# -# Who when What -# Andrea Orlati(andrea.orlati@inaf.it) 28/06/2018 Creation -#************************************************************************ -# NAME -# -# SYNOPSIS -# -# DESCRIPTION -# -# FILES -# -# ENVIRONMENT -# -# RETURN VALUES -# -# CAUTIONS -# -# EXAMPLES -# -# SEE ALSO -# -# BUGS +# This code is under GNU General Public Licence (GPL). # +# Who when What +# Andrea Orlati(andrea.orlati@inaf.it) 28/06/2018 Creation +# Giuseppe Carboni(giuseppe.carboni@inaf.it) 25/02/2020 Update +#************************************************************************ 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 -- GitLab