# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: network,v 1.1 2006/04/06 21:51:59 mlhuang Exp $
+# $Id: network,v 1.2 2006/04/25 21:18:19 mlhuang Exp $
#
# Source function library and configuration
hostname=PLC_${server}_HOST
ip=$(gethostbyname ${!hostname})
if [ -n "$ip" ] ; then
- echo "$ip $hostname"
+ echo "$ip ${!hostname}"
fi
done
) >>/etc/hosts