From ea9da7e1cfe88f2a300ad236f820221837dd9dcf Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Wed, 25 Oct 2023 21:23:05 +0100 Subject: [PATCH] add pause to end of default start.sh --- src/ibek/templates/ioc/config/start.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ibek/templates/ioc/config/start.sh b/src/ibek/templates/ioc/config/start.sh index 8961f3b4d..a10e6dbaa 100644 --- a/src/ibek/templates/ioc/config/start.sh +++ b/src/ibek/templates/ioc/config/start.sh @@ -34,6 +34,10 @@ Choices of contents of the config folder are: - send a reboot command to the RTEMS crate - start a telnet session to the RTEMS IOC console +' - -' \ No newline at end of file +# This is a placeholder script, but we still need keep the container running. +# Wait indefinitely so the container does not exit and restart continually. +while true; do + sleep 1 +done