i.services revision 3361618b69459cc57ec852687200c4c3550ca822
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe# CDDL HEADER START
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe# The contents of this file are subject to the terms of the
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe# Common Development and Distribution License (the "License").
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe# You may not use this file except in compliance with the License.
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f00bc25ff5027f3a40e9cd0ade782641bd0bf1d0wrowe# See the License for the specific language governing permissions
f00bc25ff5027f3a40e9cd0ade782641bd0bf1d0wrowe# and limitations under the License.
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# When distributing Covered Code, include this CDDL HEADER in each
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# If applicable, add the following below this CDDL HEADER, with the
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# fields enclosed by brackets "[]" replaced with your own identifying
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# information: Portions Copyright [yyyy] [name of copyright owner]
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# CDDL HEADER END
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb# Use is subject to license terms.
2c294c31addd5c957bafe6e78c4a30d423ad6e80rbb# The following customer-specific entries were found in the ${filename} file
2c294c31addd5c957bafe6e78c4a30d423ad6e80rbb# prior to an upgrade. Note that ${thing} names and their corresponding
7e44dd5082cd865068285e8f915bb5f045e0bb80lars# ${number} numbers must be registered with ${registrar}, ${regurl}, and
7e44dd5082cd865068285e8f915bb5f045e0bb80lars# entries not registered as such may not be preserved automatically by
7e44dd5082cd865068285e8f915bb5f045e0bb80lars# future upgrades.
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantz if [ ! -f $dest ] ; then
978faa9e29e0f0c42e66c07240e562325a4717b0jerenkrantz # Adjust message as appropriate to target file.
976501adbc040220270f7d1d77c4b8373033be69wrowe # Assume english plural of word not ending in s.
976501adbc040220270f7d1d77c4b8373033be69wrowe # no need for heroic natural language processing, we can
976501adbc040220270f7d1d77c4b8373033be69wrowe # tweak things in the case statement below.
8a3a703eae0e35f674b189181609545c6fc77a09rbb # Override cases we know about.
889d9c84f8b1ad850f977a6d8e548696994f8f86jerenkrantz if [ $? != 0 ]; then
8c83461e53ca7d204e1d634f0c78199d60320d7bjerenkrantz # not in the new source
8e5842bc05146bb5c171e53b00b24063d17c666cjerenkrantz if [ $? != 0 ]; then
8e5842bc05146bb5c171e53b00b24063d17c666cjerenkrantz # also not a duplicate, get ONE line here
de3abad1fe263e577bb11e99b358836bd901397crbb # Set correct permissions on services file