postinstall revision 1b349f08205ae4c89d0cbd3d8906d947a17ce56d
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER START
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
8cbf3b6fc35091abde426930f2eadb8f53476c98Evan Hunt# Common Development and Distribution License, Version 1.0 only
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# (the "License"). You may not use this file except in compliance
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# with the License.
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2baa66562a2f119edffded961d3391f87ff98ec0Ondřej Surý# See the License for the specific language governing permissions
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews# and limitations under the License.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# When distributing Covered Code, include this CDDL HEADER in each
63dd46733010bb9622810faa17d88c3e3c28b730Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# If applicable, add the following below this CDDL HEADER, with the
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# fields enclosed by brackets "[]" replaced with your own identifying
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
d901b2252d664a5b96bae117416f8ee822dc6691Stephen Jacob# CDDL HEADER END
df3c4c7988b9bae7d121a8ac9ed17a23366a948dDavid Lawrence# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
20256cbc1570e344793555b8c2f43a25bb38e373Mark Andrews# Use is subject to license terms.
8b56b8956fc1e6c70efacb4f71db28d0d1f0c577Mark Andrews#pragma ident "%Z%%M% %I% %E% SMI"
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# SUNWcar.u postinstall script
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael GraffLIBC_MOE_32=`moe -32 '/platform/sun4u-us3/lib/libc_psr/$HWCAP'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif [ -n "$LIBC_MOE_32" ]; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley mount | egrep -s "^/platform/sun4u-us3/lib/libc_psr.so.1 on "
3d776d762914d1b675b4fd49728ce353ccf6f77eBrian Wellington mount -O -F lofs $LIBC_MOE_32 /platform/sun4u-us3/lib/libc_psr.so.1
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark AndrewsLIBC_MOE_64=`moe -64 '/platform/sun4u-us3/lib/sparcv9/libc_psr/$HWCAP'`
67247b4a8304bac790648a351a95b8b0f4c512a6Mark Andrewsif [ -n "$LIBC_MOE_64" ]; then
9ed37e8b9ccd53bc37b546fffe487b9547dda3a0Mark Andrews mount | egrep -s "^/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on "