From c4cd1c687c50934fbf4078e66b1c9eaeb0674127 Mon Sep 17 00:00:00 2001
From: Dirk Zimoch <dirk.zimoch@psi.ch>
Date: Fri, 18 Sep 2015 10:10:20 +0200
Subject: [PATCH] load misc early to have ! in startup scripts

---
 iocsh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocsh b/iocsh
index dfd32371..aa4b4522 100755
--- a/iocsh
+++ b/iocsh
@@ -348,8 +348,8 @@ else
     echo "dbLoadDatabase \"$APP.dbd\",\"$DBD\""
     echo "${APP}_registerRecordDeviceDriver(pdbbase)"
 fi
+echo "require misc $MISC_VERSION"
 loadFiles "$@"
-echo "require misc"
 if [ "$init" != NO ]
 then
     echo "iocInit"
-- 
GitLab