#!/bin/sh

SCP_PASSWORD=`echo "1"`

expect -c "
set timeout 500;
spawn scp $1 root@192.168.2.3:/opt/nino-io/$1
expect password: {send $SCP_PASSWORD\r }
expect 100%
sleep 1
exit
"
