mirror of
https://github.com/SunnyQjm/NDNDeployment.git
synced 2026-10-04 19:41:57 +08:00
update
This commit is contained in:
1 parent
31259b7d6d
commit
4347592e9e
2 files changed
+2
-4
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -6,8 +6,6 @@ routerName=$4
|
||||
mapPort=$5
|
||||
idx=$6
|
||||
|
||||
cd ~/Documents/NDNDeployment
|
||||
|
||||
##########################################
|
||||
### 确保一个文件夹存在,不存在则创建
|
||||
### @param dir
|
||||
|
||||
Reference in new issue
Block a user