:
#	@(#) sysetup 1.6 89/07/10 
#
#
#	      UNIX is a registered trademark of AT&T
#		Portions Copyright 1976-1989 AT&T
#	Portions Copyright 1980-1989 Microsoft Corporation
#    Portions Copyright 1983-1989 The Santa Cruz Operation, Inc
#		      All Rights Reserved

#ident	"@(#)initpkg:init.d/sysetup	1.7"

#   This file contains system setup requirements for the system.
  
set `who -r`
if [ "$9" != "S" ]
then
	exit
fi

#   if the prtconf command exists, then, the system configuration
#   is printed

if [ -x /etc/prtconf ]
then
	/etc/prtconf
fi

#  If there are trademark files, print them.

if [ -d /etc/tm ]
then
	cat /etc/tm/* 2> /dev/null
fi

# generate /etc/systemid

/bin/su root -c "uname -n" > /etc/systemid
/bin/su root -c "chgrp other /etc/systemid"
/bin/su root -c "chmod 644 /etc/systemid"
