:
####################################################################
#	$Id: postinstall,v 1.3 1998/06/15 15:02:56 jamesp Exp $
# 	Copyright (c) Digi, Digi International Inc.
#
#	Post-installation script for Digi EPCA Async Driver.
#	Copyright (c) 1988-96 Digi International Inc.
#
#	For HP-UX 10.X
#
#	NOTE: It is expected that the swinstall program will call this
#             script after the fileset has been copied to the system.
#				
#	      Products supported  - EPC/X, C/X, PC/Xem
#	      Platforms supported - EISA, PCI
#				
####################################################################

prod=`uname -r`
major_id=`expr "$prod" : ".*\.\([^\.]*\)\..*"`
minor_id=`expr "$prod" : ".*\.[^\.]*\.\(.*\)"`

rm -f /etc/conf/digi/emux.o
if [ "$minor_id" = "01" ]
then
	ln -s /etc/conf/digi/emux.o.10.01 /etc/conf/digi/emux.o 
elif [ "$minor_id" = "10" ]
then
	ln -s /etc/conf/digi/emux.o.10.10 /etc/conf/digi/emux.o 
else
	ln -s /etc/conf/digi/emux.o.10.20 /etc/conf/digi/emux.o
fi
