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