Cvt revision 7c478bd95313f5f23a4c958a745db2134aa03244
6bdda696b3ea703c47e87fea61017ec655f91d92nd# CDDL HEADER START
6bdda696b3ea703c47e87fea61017ec655f91d92nd# The contents of this file are subject to the terms of the
6bdda696b3ea703c47e87fea61017ec655f91d92nd# Common Development and Distribution License, Version 1.0 only
6bdda696b3ea703c47e87fea61017ec655f91d92nd# (the "License"). You may not use this file except in compliance
6bdda696b3ea703c47e87fea61017ec655f91d92nd# with the License.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6bdda696b3ea703c47e87fea61017ec655f91d92nd# See the License for the specific language governing permissions
6bdda696b3ea703c47e87fea61017ec655f91d92nd# and limitations under the License.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# When distributing Covered Code, include this CDDL HEADER in each
6bdda696b3ea703c47e87fea61017ec655f91d92nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# If applicable, add the following below this CDDL HEADER, with the
6bdda696b3ea703c47e87fea61017ec655f91d92nd# fields enclosed by brackets "[]" replaced with your own identifying
6bdda696b3ea703c47e87fea61017ec655f91d92nd# information: Portions Copyright [yyyy] [name of copyright owner]
16b55a35cff91315d261d1baa776138af465c4e4fuankg# CDDL HEADER END
6bdda696b3ea703c47e87fea61017ec655f91d92nd# Copyright 1988 Sun Microsystems, Inc. All rights reserved.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# Use is subject to license terms.
6bdda696b3ea703c47e87fea61017ec655f91d92nd#ident "%Z%%M% %I% %E% SMI"
6bdda696b3ea703c47e87fea61017ec655f91d92nd# NOTE: This script has probably outlived its usefulness, but in
6bdda696b3ea703c47e87fea61017ec655f91d92nd# case it hasn't, it still references "old" pathnames,
6bdda696b3ea703c47e87fea61017ec655f91d92nd# allowing it to work on any system.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# execute this as root and in the /usr/spool/uucp directory.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# This will create required directories and move the
6bdda696b3ea703c47e87fea61017ec655f91d92nd# C. and D. files to the proper place.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# use this after running the SetUp script.
6bdda696b3ea703c47e87fea61017ec655f91d92nd# use -n option to tell what will be done, but without doing it
6bdda696b3ea703c47e87fea61017ec655f91d92nd# It does not take care of X. files yet.
6bdda696b3ea703c47e87fea61017ec655f91d92nd echo "There are no old C. files in /usr/spool/uucp/C."
6bdda696b3ea703c47e87fea61017ec655f91d92nd echo "exiting"
ac7985784d08a3655291f24f711812b4d8b1cbcffuankgThis shell (Cvt) will attempt to take the old C. and D. files
6bdda696b3ea703c47e87fea61017ec655f91d92ndthat are in $SPOOL and put them in the proper directories for
6bdda696b3ea703c47e87fea61017ec655f91d92ndthe new version of uucp.
6bdda696b3ea703c47e87fea61017ec655f91d92ndIf the files are not moved, they will never get executed after the
6bdda696b3ea703c47e87fea61017ec655f91d92ndnew uucp is installed.
6bdda696b3ea703c47e87fea61017ec655f91d92ndThere are $NC C. files in $SPOOL.
6bdda696b3ea703c47e87fea61017ec655f91d92ndDo you wish to continue (Type y to continue)? \
6bdda696b3ea703c47e87fea61017ec655f91d92ndif [ x$A != "xy" ]; then exit; fi
6bdda696b3ea703c47e87fea61017ec655f91d92nd# S is the 6 character system name
6bdda696b3ea703c47e87fea61017ec655f91d92nd# E is the last 5 characters of C. name
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg if [ -z "$DIR" ]
6bdda696b3ea703c47e87fea61017ec655f91d92nd echo "*****Warning: There is no system=$S in the /etc/uucp/Systems file. ******"