strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use symbolic shell variables in library paths
[strongswan.git]
/
testing
/
scripts
/
restore-defaults
diff --git
a/testing/scripts/restore-defaults
b/testing/scripts/restore-defaults
index
129e46f
..
b1dae1e
100755
(executable)
--- 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
then
for host in `ls $TESTSDIR/${testname}/hosts`
do
- eval HOSTLOGIN="root@`echo $HOSTNAMEIP
S | sed -n -e "s/^.*${host}://gp" | awk -F :
'{ print $1 }' | awk '{ print $1 }'`"
+ eval HOSTLOGIN="root@`echo $HOSTNAMEIP
V4 | 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
scp -rp $HOSTCONFIGDIR/${host}/etc $HOSTLOGIN:/ > /dev/null 2>&1
done
fi