postinstall revision 0ea5e3a571e3da934507bdd32924d11659c70704
347N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
347N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
347N/Aif [ -f $BASEDIR/etc/opt/SUNWconn/snm/snmpd.conf ] ; then
493N/A echo 'Copying $BASEDIR/etc/opt/SUNWconn/snm/snmpd.conf (existing SNMPD configuration file)'
347N/A echo 'to $BASEDIR/etc/snmp/conf/snmpd.conf'
# Update the snmpd.conf file with the default community strings
# check if snmpdx should be enabled (snmpdx.tmp was set in preinstall)
if [ -f $BASEDIR/var/snmpdx.tmp ]; then
cat >> $BASEDIR/var/svc/profile/upgrade <<\_SNMPDX
if [ `/sbin/zonename` = global ]; then
rm -f $BASEDIR/var/snmpdx.tmp