: use /bin/sh

# opcom configuration script.
#
# In the first part of this script the directories and the administration
# for opcom are defined.
# Refer to all of these only by the environment variables defined here.

#++
# AUTHOR(S)
#
#      Carel Braam (rccarel@urc.tue.nl)
#      Eindhoven University of Technology
#      Computing Centre
#      Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
# CREATION DATE
#	Thu Jan  5 11:09:45 MET 1989
# LAST MODIFICATION
#	Thu Jan 10 10:02:54 MET 1991
# VERSION/RELEASE
#	2.1
#--

#	*** System dependent variables ***

#SYSTEM=BSD		# must be BSD or SYSV (system v)
SYSTEM=SYSV		# must be BSD or SYSV (system v)
#SYSLOG=USE_SYSLOG	# report opcom usage to syslogd
#SYSLOG=NO_SYSLOG	# don't report opcom usage

OPCOMDIR="/usr/local/lib/opcom"	
COMMANDS="$OPCOMDIR/commands"		# command file
PROFILE="$OPCOMDIR/profile"		# profile

#	*** End system dependent variables ***

sed 's%XCOMMANDS%'"$COMMANDS"'%g
     s%XPROFILE%'"$PROFILE"'%g
     s%XSYSLOG%'"$SYSLOG"'%g
     s%XSYSTEM%'"$SYSTEM"'%g' $*
