This commit is contained in:
SunnyQjm committed 2018-12-07 10:21:04 +08:00
1 parent 31259b7d6d
commit 4347592e9e
2 files changed
+2 -4

No files matched your search

+2 -2
View File
@@ -13,8 +13,8 @@ index=$6
/usr/bin/expect << EOD
set timeout -1
spawn ssh $username@$ip -p$mapPort "
cd Documents/NDNDeployment
spawn ssh root@$ip -p$mapPort "
cd /home/$username/Documents/NDNDeployment
./doDeploy.sh $username $password $ip $routerName $mapPort $index
"
expect {
-2
View File
@@ -6,8 +6,6 @@ routerName=$4
mapPort=$5
idx=$6
cd ~/Documents/NDNDeployment
##########################################
### 确保一个文件夹存在,不存在则创建
### @param dir