From b74384a6bc58191eac438c9d6f3e3eaacd1065c9 Mon Sep 17 00:00:00 2001
From: klang <klang@aps.anl.gov>
Date: Mon, 9 Jul 2018 10:59:43 -0500
Subject: [PATCH] Add medm and caqtdm switches

---
 iocBoot/iocxxx/softioc/xxx.sh | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/iocBoot/iocxxx/softioc/xxx.sh b/iocBoot/iocxxx/softioc/xxx.sh
index 7b9e7e1..c4baa4e 100755
--- a/iocBoot/iocxxx/softioc/xxx.sh
+++ b/iocBoot/iocxxx/softioc/xxx.sh
@@ -190,8 +190,16 @@ run() {
     fi
 }
 
+start_medm() {
+	${IOC_STARTUP_DIR}/../../start_MEDM_xxx
+}
+
+start_caqtdm() {
+	${IOC_STARTUP_DIR}/../../start_caQtDM_xxx
+}
+
 usage() {
-    ${ECHO} "Usage: $(${BASENAME} ${SNAME}) {start|stop|restart|status|console|run}"
+    ${ECHO} "Usage: $(${BASENAME} ${SNAME}) {start|stop|restart|status|console|run|medm|caqtdm}"
 }
 
 #####################################################################
@@ -225,6 +233,14 @@ else
         run)
             run
 	    ;;
+		
+		medm)
+			start_medm
+		;;
+		
+		caqtdm)
+			start_caqtdm
+		;;
 
         *)
 	    usage
-- 
GitLab