#
# nodename: look around and create the internal ip address for
# this copy and node
# Note that if the pim card is missing I don't know which side
# I am.  I set the ip address to 2 to keep from coliding with
# a real address.
CS=`cat /dev/pim.cs`
COPYB=`expr ${CS:-xxxxxx2} : '......\(.\)'`
NN=`cat /etc/nodenumber`
NN=`expr $NN : '\([0-9]*\)'`
echo "128.$NN.128.${COPYB:-0}"
