xref: /386bsd/usr/src/usr.sbin/tcpdump/mdtype (revision a2142627)
1#!/bin/csh -f
2# @(#) $Header: mdtype,v 1.1 90/07/02 22:01:38 leres Exp $ (LBL)
3#
4# Determine machine type.
5#
6set mach="UNKNOWN"
7if ( -f /bin/arch ) set mach=`/bin/arch`
8if ($mach == "UNKNOWN") then
9	set temp=`machine`
10	if ($temp != "") set mach=$temp
11endif
12echo $mach
13if ($mach == "UNKNOWN") exit 1
14exit 0
15