preinstall revision 0ea5e3a571e3da934507bdd32924d11659c70704
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi# CDDL HEADER START
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# The contents of this file are subject to the terms of the
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# Common Development and Distribution License (the "License").
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# You may not use this file except in compliance with the License.
0066eddda7203f6345b56f77d146a759298dc635gryzor# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0066eddda7203f6345b56f77d146a759298dc635gryzor# See the License for the specific language governing permissions
6ae232055d4d8a97267517c5e50074c2c819941and# and limitations under the License.
6ae232055d4d8a97267517c5e50074c2c819941and# When distributing Covered Code, include this CDDL HEADER in each
f21bea4c0f58e17aa1d9a0fac2c219852f89944amaczniak# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f21bea4c0f58e17aa1d9a0fac2c219852f89944amaczniak# If applicable, add the following below this CDDL HEADER, with the
f21bea4c0f58e17aa1d9a0fac2c219852f89944amaczniak# fields enclosed by brackets "[]" replaced with your own identifying
f21bea4c0f58e17aa1d9a0fac2c219852f89944amaczniak# information: Portions Copyright [yyyy] [name of copyright owner]
if [ -f $BASEDIR/etc/TIMEZONE ] ; then
if [ -h $BASEDIR/var/mail ] ; then
rm -rf $BASEDIR/var/mail.ABCsavedXYZ
if [ -h $BASEDIR/var/news ] ; then
rm -rf $BASEDIR/var/news.ABCsavedXYZ
CLEANUP=/tmp/CLEANUP
You have made changes to /etc/dhcp/dhcptags, which has been superseded
by /etc/dhcp/inittab, as documented in dhcp_inittab(4). Please refer
DHCPTAGS=$BASEDIR/etc/dhcp/dhcptags
# it to a funky name like /etc/dhcp/dhcptags:8. Use this as
# ${CLIENT_BASEDIR}foo is used instead of $CLIENT_BASEDIR/foo
-p ${CLIENT_BASEDIR}etc/dhcp/dhcptags $PKGINST | \
grep -i installed > /dev/null 2>&1 && \
elif [ `/sbin/zonename` = "global" -a "x$SUNW_PKG_INSTALL_ZONENAME" != "x" -a \