Commit 9de5c65c authored by Matteo Quintiliani's avatar Matteo Quintiliani

Minor change


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1299 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 596dbc11
...@@ -12,6 +12,6 @@ NAQSERVERS="naqs1a.int.ingv.it naqs2a.int.ingv.it naqs1b.int.ingv.it naqs2b.int. ...@@ -12,6 +12,6 @@ NAQSERVERS="naqs1a.int.ingv.it naqs2a.int.ingv.it naqs1b.int.ingv.it naqs2b.int.
NAQSPORT=28000 NAQSPORT=28000
for NAQSSERVER in ${NAQSERVERS}; do 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});/" ${NMXPTOOLBIN} -H ${NAQSSERVER} -P ${NAQSPORT} -L | sed -e "s/[ ][ ]*/ /g" | cut -f 3 -d' ' | tr '.' ' ' | sed -e "s/\([^ ][^ ]*\) \([^ ][^ ]*\)/CALL sp_update_channel_acquisition('\1', '\2', 0, '${NAQSSERVER}', ${NAQSPORT});/"
done 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