postinstall revision 2eaee53e5b3d4cd48a35cd651c0a8ae149d772c5
4612N/A# The contents of this file are subject to the terms of the 4612N/A# Common Development and Distribution License, Version 1.0 only 4612N/A# (the "License"). You may not use this file except in compliance 4612N/A# See the License for the specific language governing permissions 4612N/A# and limitations under the License. 4612N/A# When distributing Covered Code, include this CDDL HEADER in each 4612N/A# If applicable, add the following below this CDDL HEADER, with the 4612N/A# fields enclosed by brackets "[]" replaced with your own identifying 4612N/A# information: Portions Copyright [yyyy] [name of copyright owner] 4612N/A#pragma ident "%Z%%M% %I% %E% SMI" 4612N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 4612N/A# Use is subject to license terms. 4612N/A# Update IPsec policy configuration file only if installed 4612N/A# remove_ipsecinit_entry sport|dport service apply|permit \ 4612N/A# Note: If an entry exists that uses the same (sport|dport)/service 4612N/A# combination that entry is not removed. This is to prevent 4612N/A# the removal of any custom policies that might have been established. 4612N/A # Check for a default entry, and remove it 4612N/A # Check the file for an entry that 4612N/A # has a matching (sport|dport)/port pair 4612N/A # Found a modified entry, just issue a warning 4612N/A echo "Found a policy for $1 $2 that does not match the" \ 4612N/A# Remove all of our default policies 4612N/A echo "NOTICE: One or more of the default IPsec policies for the" 4612N/A echo "Sun Fire 15000 services has been modified. As a result, the" 4612N/A echo "modified policy for those services was not removed. Please" 4612N/A echo "For more information, refer to sckmd(1M) and ipsecconf(1M)."