Commit 891824cc authored by aorlati's avatar aorlati
Browse files

#issue 114. The script check is the manager is alive before trying a connection

parent 0f618c51
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -10,9 +10,16 @@ import maciErrType
import maciErrTypeImpl
import ClientErrorsImpl
import sys
from Acspy.Util.ACSCorba import getManager

def main():

	if	getManager():
		simpleClient = PySimpleClient()
	else:
		print "Control software is off line"
		sys.exit(1)

	command=""
	
	try:
+2 −2
Original line number Diff line number Diff line
@@ -37,8 +37,8 @@
# special compilation flags for single c sources
#yyyyy_CFLAGS   = 

EXECUTABLES	= coordinateGrabber
EXECUTABLES_L = slewTimeCheck
EXECUTABLES	= 
EXECUTABLES_L = slewTimeCheck coordinateGrabber

coordinateGrabber_OBJECTS = coordinateGrabber
coordinateGrabber_LIBS = AntennaDefinitionsStubs AntennaBossStubs EphemGeneratorStubs \
+5 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@
#USER_INC = 
#USER_LIB = 

RESTRICT_PERMS=_tp_agc

#
# MODULE CODE DESCRIPTION:
# ------------------------
@@ -213,6 +215,9 @@ man : do_man
	@echo " . . . man page(s) done"

install : install_all
	@echo $(RESTRICT_PERMS)" has been restcicted to system manager"
	@chmod g-x $(INTROOT)/bin/$(RESTRICT_PERMS)
	@chmod o-x $(INTROOT)/bin/$(RESTRICT_PERMS)
	@echo " . . . installation done"