preinstall revision d8d4fa8f33f737d82c7dcd7ddd11b4342ce4fbca
286N/A#
286N/A# CDDL HEADER START
286N/A#
286N/A# The contents of this file are subject to the terms of the
286N/A# Common Development and Distribution License, Version 1.0 only
286N/A# (the "License"). You may not use this file except in compliance
286N/A# with the License.
286N/A#
286N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
286N/A# or http://www.opensolaris.org/os/licensing.
286N/A# See the License for the specific language governing permissions
286N/A# and limitations under the License.
286N/A#
286N/A# When distributing Covered Code, include this CDDL HEADER in each
286N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
286N/A# If applicable, add the following below this CDDL HEADER, with the
286N/A# fields enclosed by brackets "[]" replaced with your own identifying
286N/A# information: Portions Copyright [yyyy] [name of copyright owner]
286N/A#
286N/A# CDDL HEADER END
286N/A#
286N/A#
286N/A# Copyright (c) 1995 Sun Microsystems, Inc.
286N/A# All Rights Reserved.
286N/A#
286N/A# preinstall script for SUNWpsdir package.
286N/A#
286N/A#ident "%Z%%M% %I% %E% SMI"
286N/A#
286N/A
286N/A#
286N/A# If the file exists on the system in it's pre-KBI location, move it
286N/A# to the post-KBI location so that upgrade will work.
286N/A#
286N/Aif [ -f ${BASEDIR}/kernel/drv/sbpro.conf ]; then
286N/A mv ${BASEDIR}/kernel/drv/sbpro.conf \
286N/A ${BASEDIR}/platform/i86pc/kernel/drv
286N/Afi
286N/A
286N/Aexit 0
286N/A