Commit 1a859b37 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Start


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1297 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 5136a7ab
#!/bin/sh
############################################################################
# Syntax:
#
# Author: Matteo Quintiliani - I.N.G.V. - quintiliani@ingv.it
############################################################################
NMXPTOOLBIN=../src/nmxptool
NAQSERVERS="naqs1a.int.ingv.it naqs2a.int.ingv.it naqs1b.int.ingv.it naqs2b.int.ingv.it"
NAQSPORT=28000
for NAQSSERVER in ${NAQSERVERS}; do
${NMXPTOOLBIN} -H ${NAQSSERVER} -P ${NAQSPORT} -L | sed -e "s/[ ][ ]*/ /g" | cut -f 3 -d' ' | tr '.' ' ' | sed -e "s/\([^ ][^ ]*\) \([^ ][^ ]*\)/sp_update_channel_acquisition('\1', '\2', 0, '${NAQSSERVER}', ${NAQSPORT});/"
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment