xref: /titanic_53/usr/src/cmd/netadm/iu.ap.sh (revision 25cf1a301a396c38e8adf52c15f537b80d2483f7)
17c478bd9Sstevel@tonic-gate#!/sbin/sh
27c478bd9Sstevel@tonic-gate#
37c478bd9Sstevel@tonic-gate# CDDL HEADER START
47c478bd9Sstevel@tonic-gate#
57c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
6*25cf1a30Sjl139090# Common Development and Distribution License (the "License").
7*25cf1a30Sjl139090# You may not use this file except in compliance with the License.
87c478bd9Sstevel@tonic-gate#
97c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
117c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
127c478bd9Sstevel@tonic-gate# and limitations under the License.
137c478bd9Sstevel@tonic-gate#
147c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
157c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
167c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
177c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
187c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
197c478bd9Sstevel@tonic-gate#
207c478bd9Sstevel@tonic-gate# CDDL HEADER END
217c478bd9Sstevel@tonic-gate#
227c478bd9Sstevel@tonic-gate#
23*25cf1a30Sjl139090# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
247c478bd9Sstevel@tonic-gate# Use is subject to license terms.
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
277c478bd9Sstevel@tonic-gate#	  All Rights Reserved
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate
30*25cf1a30Sjl139090#ident	"%Z%%M%	%I%	%E% SMI"
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gatecase "$MACH" in
337c478bd9Sstevel@tonic-gate  "i386" )
347c478bd9Sstevel@tonic-gate	echo "# /dev/console and /dev/contty autopush setup
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gate#       major minor   lastminor       modules
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gate	wc	0	0	ldterm ttcompat
397c478bd9Sstevel@tonic-gate	asy	-1	0	ldterm ttcompat
407c478bd9Sstevel@tonic-gate	ptsl	0	47	ldterm ttcompat
417c478bd9Sstevel@tonic-gate	rts	-1	0	rts [anchor]
427c478bd9Sstevel@tonic-gate	ipsecesp -1	0	ipsecesp
437c478bd9Sstevel@tonic-gate	ipsecah	-1	0	ipsecah
447c478bd9Sstevel@tonic-gate" > iu.ap
457c478bd9Sstevel@tonic-gate	;;
467c478bd9Sstevel@tonic-gate  "sparc" )
477c478bd9Sstevel@tonic-gate	echo "# /dev/console and /dev/contty autopush setup
487c478bd9Sstevel@tonic-gate#
497c478bd9Sstevel@tonic-gate#      major   minor lastminor	modules
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gate	wc	0	0	ldterm ttcompat
527c478bd9Sstevel@tonic-gate	qcn	0	255	ldterm ttcompat
537c478bd9Sstevel@tonic-gate	sgcn	0	0	ldterm ttcompat
547c478bd9Sstevel@tonic-gate	zs	0	63	ldterm ttcompat
557c478bd9Sstevel@tonic-gate	zs	131072	131135	ldterm ttcompat
567c478bd9Sstevel@tonic-gate	ptsl	0	47	ldterm ttcompat
577c478bd9Sstevel@tonic-gate	cvc	0	0	ldterm ttcompat
587c478bd9Sstevel@tonic-gate	mcpzsa	0	127	ldterm ttcompat
597c478bd9Sstevel@tonic-gate	mcpzsa	256	383	ldterm ttcompat
607c478bd9Sstevel@tonic-gate	se	0	255	ldterm ttcompat
617c478bd9Sstevel@tonic-gate	se	131072	131327	ldterm ttcompat
627c478bd9Sstevel@tonic-gate	se	16384	0	ldterm ttcompat
637c478bd9Sstevel@tonic-gate	se	16392	0	ldterm ttcompat
647c478bd9Sstevel@tonic-gate	su	0	255	ldterm ttcompat
657c478bd9Sstevel@tonic-gate	su	16385	0	ldterm ttcompat
667c478bd9Sstevel@tonic-gate	su	131072	131073	ldterm ttcompat
677c478bd9Sstevel@tonic-gate	usbser_edge -1	0	ldterm ttcompat
687c478bd9Sstevel@tonic-gate	rts	-1	0	rts [anchor]
697c478bd9Sstevel@tonic-gate	ttymux	-1	0	ldterm ttcompat
707c478bd9Sstevel@tonic-gate	ipsecesp -1	0	ipsecesp
717c478bd9Sstevel@tonic-gate	ipsecah	-1	0	ipsecah
72*25cf1a30Sjl139090	oplmsu	0	0	ldterm ttcompat
737c478bd9Sstevel@tonic-gate" >iu.ap
747c478bd9Sstevel@tonic-gate	;;
757c478bd9Sstevel@tonic-gate  * )
767c478bd9Sstevel@tonic-gate	echo "Unknown architecture."
777c478bd9Sstevel@tonic-gate	exit 1
787c478bd9Sstevel@tonic-gate	;;
797c478bd9Sstevel@tonic-gateesac
80