:
#	@(#) sysetup 23.1 91/08/29 
#
#	Copyright (C) 1988-1991 The Santa Cruz Operation, Inc.
#		All Rights Reserved.
#	The information in this file is provided for the exclusive use of
#	the licensees of The Santa Cruz Operation, Inc.  Such users have the
#	right to use, modify, and incorporate this code into other products
#	for purposes authorized by the license agreement provided they include
#	this notice and the associated copyright notice with any such product.
#	The information in this file is provided "AS IS" without warranty.
#
#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"
