diff options
Diffstat (limited to 'usr/src/pkgdefs/SUNWsckmr/preremove')
-rw-r--r-- | usr/src/pkgdefs/SUNWsckmr/preremove | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/usr/src/pkgdefs/SUNWsckmr/preremove b/usr/src/pkgdefs/SUNWsckmr/preremove index 9cf8e1bd47..832c16ba0e 100644 --- a/usr/src/pkgdefs/SUNWsckmr/preremove +++ b/usr/src/pkgdefs/SUNWsckmr/preremove @@ -3,9 +3,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -23,8 +22,8 @@ # #pragma ident "%Z%%M% %I% %E% SMI" # -# Copyright (c) 2001 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # PATH="/usr/bin:/usr/sbin:${PATH}" @@ -32,6 +31,16 @@ export PATH IPSECINIT="$BASEDIR/etc/inet/ipsecinit.conf" +# +# Update IPsec policy configuration file only if installed +# on a Sun Fire 15000. +# +platform=`uname -i` +starcat="SUNW,Sun-Fire-15000" +if [ ${platform} != "${starcat}" ]; then + exit 0 +fi + issue_warning=0 # |