#!/bin/sh

PKG=SUNWscdhc
BASEDIR=`/usr/bin/pkgparam ${PKG} BASEDIR`

# Create a link from ${BASEDIR}/${PKG}/bin/toupper.[sparc|i386] to
# ${BASEDIR}/${PKG}/bin/toupper

/usr/sbin/installf ${PKG} ${BASEDIR}/${PKG}/bin/toupper
echo "Link ${BASEDIR}/${PKG}/bin/toupper."`uname -p`" to ${BASEDIR}/${PKG}/bin/toupper"
/bin/ln -s ${BASEDIR}/${PKG}/bin/toupper.`uname -p` ${BASEDIR}/${PKG}/bin/toupper

/usr/sbin/installf -f ${PKG} || exit 1

# Create a link from ${BASEDIR}/${PKG}/bin/dhcpclient.[sparc|i386] to
# ${BASEDIR}/${PKG}/bin/dhcpclient

/usr/sbin/installf ${PKG} ${BASEDIR}/${PKG}/bin/dhcpclient

echo "Link ${BASEDIR}/${PKG}/bin/dhcpclient."`uname -p`" to ${BASEDIR}/${PKG}/bin/dhcpclient"
/bin/ln -s ${BASEDIR}/${PKG}/bin/dhcpclient.`uname -p` ${BASEDIR}/${PKG}/bin/dhcpclient
/usr/sbin/installf -f ${PKG} || exit 1

exit 0

