postinstall revision 7c478bd95313f5f23a4c958a745db2134aa03244
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# cycle with milestone/single-user, when upgrading to a system that
0N/A# introduces milestone/sysconfig.
0N/Acat >> $BASEDIR/var/svc/profile/upgrade <<\_CLRSYSID
0N/Aif [ -h $BASEDIR/var/mail.ABCsavedXYZ ] ; then
0N/A rm -fr $BASEDIR/var/mail.ABCsavedXYZ
0N/Aif [ -h $BASEDIR/var/news.ABCsavedXYZ ] ; then
0N/A rm -fr $BASEDIR/var/news.ABCsavedXYZ
0N/APMTAB=$BASEDIR/etc/saf/tcp/_pmtab
0N/AAUTH_ATTR=$BASEDIR/etc/security/auth_attr
0N/AINITTAB=$BASEDIR/etc/inittab
0N/AVFSTAB=$BASEDIR/etc/vfstab
0N/Acat >> $BASEDIR/var/svc/profile/upgrade <<\_DEL_BIND8
0N/A obs_se=/usr/sbin/in.named
0N/A svcadm disable -s svc:/network/dns/server:default
0N/A svccfg delete svc:/network/dns/server:default
0N/A svccfg delete svc:/network/dns/server
0N/A# svc:/network/rpc/keyserv is expected to be off on systems that don't
0N/Acat >> $BASEDIR/var/svc/profile/upgrade <<\_CSVC_UPGRADE_2
0N/A if [ ! -f /etc/defaultdomain ]; then
0N/A svcadm disable network/rpc/keyserv
0N/A # On initial install, default to ns_files.xml. The installer will
0N/Aelif [ ! -r $BASEDIR/var/svc/profile/name_service.xml ]; then
0N/A ns_profile=ns_ldap.xml
0N/A ns_profile=ns_nisplus.xml
0N/A ns_profile=ns_nis.xml
0N/A ns_profile=ns_files.xml
0N/A ln -s $ns_profile $BASEDIR/var/svc/profile/name_service.xml
0N/A# /etc/svc/repository.db was previously packaged but it is now generated
0N/A# Solaris audit's internal "enable/disable" state is maintained by
0N/Acat >> $BASEDIR/var/svc/profile/upgrade <<\_ENABLE_AUDIT