# /bin/csh -f
set path = ($ADM_DIR $ADM_DIR/bin /bin /usr/bin /etc)

set noglob

asknet:
echo ""
echo "Will $HOSTNAME be connected to other machines via an Ethernet, cluster"
echo -n "net, or serial line (not uucp) [ynqx?]: "
set  NETP = `get_resp`
switch ( $NETP )
case [Yy] :
	first_NETWORK_getnet
	if ( $status == 0 ) then
		exit(0)
	else
		exit(1)
	endif
	breaksw
case [Nn] :
	echo "NET_CTLR:" > $ADM_DIR/tmp/net_info
	echo "NET_INET:" >> $ADM_DIR/tmp/net_info
	echo "NET_DEST:" >> $ADM_DIR/tmp/net_info
	exit(0)
	breaksw
case [QqXx] :
	exit(1)
	breaksw
case _HELP_ :
	adm_help NET_SETUP
	goto asknet
	breaksw
default :
	echo "Invalid response..."
	goto asknet
	breaksw
endsw
#
# OOPS
#
echo "$0: OOPS - broke out of loop somehow."
exit(1)
