|
|
@@ -4,7 +4,7 @@ if [[ "$0" =~ / ]]; then cd "${0%/*}"; fi
|
|
|
|
|
|
args="$* "
|
|
|
if [[ "$args" = " " ]]; then
|
|
|
- echo="usage: ./syncto.sh 47 128 221 "
|
|
|
+ echo="usage: ./syncto.sh 47 128 221 222"
|
|
|
exit 0
|
|
|
fi
|
|
|
echo "args='$args'"
|
|
|
@@ -23,6 +23,11 @@ user221=root
|
|
|
pass221=VWluby5jb21eNzg5KQ
|
|
|
wcmd221="su - matrix"
|
|
|
|
|
|
+host222=10.100.30.222
|
|
|
+user222=root
|
|
|
+pass222=VWluby5jb21eNzg5KQ
|
|
|
+wcmd222="su - matrix"
|
|
|
+
|
|
|
mqlpath=`go env GOPATH | awk -F ':' '{print $1}'`/bin/matrix/mql
|
|
|
cd ${mqlpath}
|
|
|
|