From cbedb32d500bd4c32f07d555cd64f498395b299f Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 13 Nov 2006 21:45:40 +0000 Subject: [PATCH] Added a .db file with a single record $(IOC):exit. Set the .A field to the exit status you want the softIoc to return. --- src/softIoc/Makefile | 2 ++ src/softIoc/softIocExit.db | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 src/softIoc/softIocExit.db diff --git a/src/softIoc/Makefile b/src/softIoc/Makefile index 426e2f3e4..3c0105be5 100644 --- a/src/softIoc/Makefile +++ b/src/softIoc/Makefile @@ -26,4 +26,6 @@ softIoc_SRCS += softMain.cpp softIoc_LIBS = $(EPICS_BASE_IOC_LIBS) +DB += softIocExit.db + include $(TOP)/configure/RULES diff --git a/src/softIoc/softIocExit.db b/src/softIoc/softIocExit.db new file mode 100644 index 000000000..76fbe9aea --- /dev/null +++ b/src/softIoc/softIocExit.db @@ -0,0 +1,7 @@ +# $Id$ +# +record(sub,"$(IOC):exit") { + field(DESC,"Exit subroutine") + field(SCAN,"Passive") + field(SNAM,"exit") +}