diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-06 05:41:21 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-06-06 05:41:21 +0000 |
commit | fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe (patch) | |
tree | 8d004acd6e43592a6e5707096c9f3e4c4b1c181b /testing/scripts/restore-defaults | |
parent | 32b6500fbfe063f3efb5589facd027f4c6cf08ed (diff) | |
download | strongswan-fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe.tar.bz2 strongswan-fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe.tar.xz |
created IPv6 environment
Diffstat (limited to 'testing/scripts/restore-defaults')
-rwxr-xr-x | testing/scripts/restore-defaults | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/scripts/restore-defaults b/testing/scripts/restore-defaults index 129e46f56..b1dae1ea2 100755 --- a/testing/scripts/restore-defaults +++ b/testing/scripts/restore-defaults @@ -47,7 +47,7 @@ if [ -d $TESTSDIR/${testname}/hosts ] then for host in `ls $TESTSDIR/${testname}/hosts` do - eval HOSTLOGIN="root@`echo $HOSTNAMEIPS | sed -n -e "s/^.*${host}://gp" | awk -F : '{ print $1 }' | awk '{ print $1 }'`" + eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`" scp -rp $HOSTCONFIGDIR/${host}/etc $HOSTLOGIN:/ > /dev/null 2>&1 done fi |