diff --git a/iocsh b/iocsh index d2a3d6b..d7d9383 100755 --- a/iocsh +++ b/iocsh @@ -407,7 +407,7 @@ do done } -startup=/tmp/iocsh.startup.$$ +startup=${IOCSH_TMP:-/tmp}/iocsh.startup.$$ # clean up and kill the softIoc when killed by any signal cleanup() {