#!/bin/sh
# @(#)postinstall_prod	1.16 1/12/94 Copyright 1993 SMI
# Copyright (c) 1993 Sun Microsystems, Inc.  All Rights Reserved.
# Sun considers its source code as an unpublished, proprietary trade
# secret, and it is available only under strict license provisions.
# This copyright notice is placed here only to protect Sun in the event
# the source is deemed a published work.
#
# RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the
# Government is subject to restrictions as set forth in subparagraph
# (c)(1)(ii) of the Rights in Technical Data and Computer Software
# clause at DFARS 52.227-7013 and in similar clauses in the FAR and
# NASA FAR Supplement.
#
# 2 x.25 socket libraries are provided for bug 4031664:
#      /opt/SUNWconn/x25/lib/libsockx25.a.4031664
#      /opt/SUNWconn/x25/lib/libsockx25.a.orig
#
# The fix for bug 4031664 needs a sockmod fix. This script creates by
# default a symbolic link between /opt/SUNWconn/x25/lib/libsockx25.a and
# /opt/SUNWconn/x25/lib/libsockx25.a.orig

if [ -f /opt/SUNWconn/x25/lib/libsockx25.a ]
then
  mv /opt/SUNWconn/x25/lib/libsockx25.a /opt/SUNWconn/x25/lib/libsockx25.before102256-11
fi

ln -s /opt/SUNWconn/x25/lib/libsockx25.a.orig /opt/SUNWconn/x25/lib/libsockx25.a

exit 0
