:
# "getnetaddr", a shell script to get the Ethernet Adress for a given node.

# Copyright 1986 Intel Corporation.

# 04/22/86  gll  Written for iDIS R2.0.

# We us the name server in order to ensure future compatibility.
# NOTE: must be invoked using /iDISboot/Ar

subnname=$1
proc=${2-nfc}

/etc/mkns <<END | sed -n -e "s/^.*\(................\)\(............\)000000$/\2/p"
lookup
$subnname/$proc
done
END
