summaryrefslogtreecommitdiff
path: root/testing/scripts/build-sshkeys
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2006-11-06 19:00:10 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2006-11-06 19:00:10 +0000
commit58d26e02cd8686e177eebb9fb81e6b17798bbb30 (patch)
treee7329ae5a85bb2d6b8bba0ebcd65c6c41999f96f /testing/scripts/build-sshkeys
parent0b5d496ea2fd532dcf5e5b6b804a7db32f488364 (diff)
downloadvyos-strongswan-58d26e02cd8686e177eebb9fb81e6b17798bbb30.tar.gz
vyos-strongswan-58d26e02cd8686e177eebb9fb81e6b17798bbb30.zip
Load /tmp/tmp.IBEBMao893/strongswan-2.8.0+dfsg into
branches/source-dist/debian/strongswan.
Diffstat (limited to 'testing/scripts/build-sshkeys')
-rwxr-xr-xtesting/scripts/build-sshkeys8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/scripts/build-sshkeys b/testing/scripts/build-sshkeys
index f4d584d6b..2faa3963d 100755
--- a/testing/scripts/build-sshkeys
+++ b/testing/scripts/build-sshkeys
@@ -14,7 +14,7 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
-# RCSID $Id: build-sshkeys,v 1.2 2005/02/15 14:12:16 as Exp $
+# RCSID $Id: build-sshkeys,v 1.3 2006/10/19 21:38:45 as Exp $
DIR=`dirname $0`
@@ -58,10 +58,10 @@ else
cecho "done"
fi
-for host in $HOSTNAMEIPS
+for host in $HOSTNAMEIPV4
do
- HOSTNAME=`echo $host | awk -F : '{ print $1 }'`
- IP=`echo $host | awk -F : '{ print $2 }'`
+ HOSTNAME=`echo $host | awk -F, '{ print $1 }'`
+ IP=`echo $host | awk -F, '{ print $2 }'`
if [ `grep "$IP " ~/.ssh/known_hosts | wc -l` != "0" ]
then
cecho "!! Warning: An entry exists for the following IP address: $IP"