From 26005486271f77216171e35739c0c9675a0f3e4d Mon Sep 17 00:00:00 2001 From: zimoch Date: Mon, 18 May 2015 11:59:07 +0000 Subject: [PATCH] Put libraries into database --- iocsh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/iocsh b/iocsh index 8a63fdc..a040ca8 100755 --- a/iocsh +++ b/iocsh @@ -1,7 +1,7 @@ #!/bin/bash SOURCE='$Source: /cvs/G/DRV/misc/iocsh,v $' -REVISION='$Revision: 3.8 $' -DATE='$Date: 2014/11/04 16:03:05 $' +REVISION='$Revision: 3.9 $' +DATE='$Date: 2015/05/18 11:59:07 $' rp() { ( realpath $1 || readlink -f $1 || readlink $1 || echo $1 ) 2>/dev/null @@ -360,8 +360,12 @@ fi if [ "$SHELLBOX" ] then PATH=$PATH:/home/ioc/bin + echo "rm /tmp/${IOC}.dbl" echo 'dbl "","RTYP DESC" > /tmp/${IOC}.dbl' echo "! dbl2odb.sh ${IOC} $(/sbin/ifconfig eth0 | awk -F '[ :]+' '/Bcast/ {print $6}') $EPICS_CA_SERVER_PORT" + echo "rm /tmp/${IOC}.libs" + echo "libversionShow > /tmp/${IOC}.libs" + echo "! upload_libinfo.py -i ${IOC} -l /tmp/${IOC}.libs" fi echo 'epicsEnvSet IOCSH_PS1,"${IOC}> "' } > $startup