xref: /illumos-gate/usr/src/cmd/netadm/ttydefs.sh (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate#!/sbin/sh
2*7c478bd9Sstevel@tonic-gate#
3*7c478bd9Sstevel@tonic-gate# CDDL HEADER START
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
6*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
7*7c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
8*7c478bd9Sstevel@tonic-gate# with the License.
9*7c478bd9Sstevel@tonic-gate#
10*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
12*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
13*7c478bd9Sstevel@tonic-gate# and limitations under the License.
14*7c478bd9Sstevel@tonic-gate#
15*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
16*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
18*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
19*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
20*7c478bd9Sstevel@tonic-gate#
21*7c478bd9Sstevel@tonic-gate# CDDL HEADER END
22*7c478bd9Sstevel@tonic-gate#
23*7c478bd9Sstevel@tonic-gate#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
24*7c478bd9Sstevel@tonic-gate#	  All Rights Reserved
25*7c478bd9Sstevel@tonic-gate
26*7c478bd9Sstevel@tonic-gate
27*7c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.2	*/
28*7c478bd9Sstevel@tonic-gate
29*7c478bd9Sstevel@tonic-gatecase "$MACH" in
30*7c478bd9Sstevel@tonic-gate  "u3b2"|"sparc"|"i386"|"ppc" )
31*7c478bd9Sstevel@tonic-gate	echo "# VERSION=1
32*7c478bd9Sstevel@tonic-gate460800:460800 hupcl:460800 hupcl::307200
33*7c478bd9Sstevel@tonic-gate307200:307200 hupcl:307200 hupcl::230400
34*7c478bd9Sstevel@tonic-gate230400:230400 hupcl:230400 hupcl::153600
35*7c478bd9Sstevel@tonic-gate153600:153600 hupcl:153600 hupcl::115200
36*7c478bd9Sstevel@tonic-gate115200:115200 hupcl:115200 hupcl::76800
37*7c478bd9Sstevel@tonic-gate76800:76800 hupcl:76800 hupcl::57600
38*7c478bd9Sstevel@tonic-gate57600:57600 hupcl:57600 hupcl::38400
39*7c478bd9Sstevel@tonic-gate38400:38400 hupcl:38400 hupcl::19200
40*7c478bd9Sstevel@tonic-gate19200:19200 hupcl:19200 hupcl::9600
41*7c478bd9Sstevel@tonic-gate9600:9600 hupcl:9600 hupcl::4800
42*7c478bd9Sstevel@tonic-gate4800:4800 hupcl:4800 hupcl::2400
43*7c478bd9Sstevel@tonic-gate2400:2400 hupcl:2400 hupcl::1200
44*7c478bd9Sstevel@tonic-gate1200:1200 hupcl:1200 hupcl::300
45*7c478bd9Sstevel@tonic-gate300:300 hupcl:300 hupcl::460800
46*7c478bd9Sstevel@tonic-gate
47*7c478bd9Sstevel@tonic-gate460800E:460800 hupcl evenp:460800 evenp::307200
48*7c478bd9Sstevel@tonic-gate307200E:307200 hupcl evenp:307200 evenp::230400
49*7c478bd9Sstevel@tonic-gate230400E:230400 hupcl evenp:230400 evenp::153600
50*7c478bd9Sstevel@tonic-gate153600E:153600 hupcl evenp:153600 evenp::115200
51*7c478bd9Sstevel@tonic-gate115200E:115200 hupcl evenp:115200 evenp::76800
52*7c478bd9Sstevel@tonic-gate76800E:76800 hupcl evenp:76800 evenp::57600
53*7c478bd9Sstevel@tonic-gate57600E:57600 hupcl evenp:57600 evenp::38400
54*7c478bd9Sstevel@tonic-gate38400E:38400 hupcl evenp:38400 evenp::19200
55*7c478bd9Sstevel@tonic-gate19200E:19200 hupcl evenp:19200 evenp::9600
56*7c478bd9Sstevel@tonic-gate9600E:9600 hupcl evenp:9600 evenp::4800
57*7c478bd9Sstevel@tonic-gate4800E:4800 hupcl evenp:4800 evenp::2400
58*7c478bd9Sstevel@tonic-gate2400E:2400 hupcl evenp:2400 evenp::1200
59*7c478bd9Sstevel@tonic-gate1200E:1200 hupcl evenp:1200 evenp::300
60*7c478bd9Sstevel@tonic-gate300E:300 hupcl evenp:300 evenp::19200
61*7c478bd9Sstevel@tonic-gate
62*7c478bd9Sstevel@tonic-gateauto:hupcl:sane hupcl:A:9600
63*7c478bd9Sstevel@tonic-gate
64*7c478bd9Sstevel@tonic-gateconsole:9600 hupcl opost onlcr:9600::console
65*7c478bd9Sstevel@tonic-gateconsole1:1200 hupcl opost onlcr:1200::console2
66*7c478bd9Sstevel@tonic-gateconsole2:300 hupcl opost onlcr:300::console3
67*7c478bd9Sstevel@tonic-gateconsole3:2400 hupcl opost onlcr:2400::console4
68*7c478bd9Sstevel@tonic-gateconsole4:4800 hupcl opost onlcr:4800::console5
69*7c478bd9Sstevel@tonic-gateconsole5:19200 hupcl opost onlcr:19200::console
70*7c478bd9Sstevel@tonic-gate
71*7c478bd9Sstevel@tonic-gatecontty:9600 hupcl opost onlcr:9600 sane::contty1
72*7c478bd9Sstevel@tonic-gatecontty1:1200 hupcl opost onlcr:1200 sane::contty2
73*7c478bd9Sstevel@tonic-gatecontty2:300 hupcl opost onlcr:300 sane::contty3
74*7c478bd9Sstevel@tonic-gatecontty3:2400 hupcl opost onlcr:2400 sane::contty4
75*7c478bd9Sstevel@tonic-gatecontty4:4800 hupcl opost onlcr:4800 sane::contty5
76*7c478bd9Sstevel@tonic-gatecontty5:19200 hupcl opost onlcr:19200 sane::contty
77*7c478bd9Sstevel@tonic-gate
78*7c478bd9Sstevel@tonic-gate
79*7c478bd9Sstevel@tonic-gate4800H:4800:4800 sane hupcl::9600H
80*7c478bd9Sstevel@tonic-gate9600H:9600:9600 sane hupcl::19200H
81*7c478bd9Sstevel@tonic-gate19200H:19200:19200 sane hupcl::38400H
82*7c478bd9Sstevel@tonic-gate38400H:38400:38400 sane hupcl::2400H
83*7c478bd9Sstevel@tonic-gate2400H:2400:2400 sane hupcl::1200H
84*7c478bd9Sstevel@tonic-gate1200H:1200:1200 sane hupcl::300H
85*7c478bd9Sstevel@tonic-gate300H:300:300 sane hupcl::4800H
86*7c478bd9Sstevel@tonic-gate
87*7c478bd9Sstevel@tonic-gateconttyH:9600 opost onlcr:9600 hupcl sane::contty1H
88*7c478bd9Sstevel@tonic-gatecontty1H:1200 opost onlcr:1200 hupcl sane::contty2H
89*7c478bd9Sstevel@tonic-gatecontty2H:300 opost onlcr:300 hupcl sane::contty3H
90*7c478bd9Sstevel@tonic-gatecontty3H:2400 opost onlcr:2400 hupcl sane::contty4H
91*7c478bd9Sstevel@tonic-gatecontty4H:4800 opost onlcr:4800 hupcl sane::contty5H
92*7c478bd9Sstevel@tonic-gatecontty5H:19200 opost onlcr:19200 hupcl sane::conttyH
93*7c478bd9Sstevel@tonic-gate" >ttydefs
94*7c478bd9Sstevel@tonic-gate	;;
95*7c478bd9Sstevel@tonic-gate  * )
96*7c478bd9Sstevel@tonic-gate	echo "Unknown architecture."
97*7c478bd9Sstevel@tonic-gate	exit 1
98*7c478bd9Sstevel@tonic-gate	;;
99*7c478bd9Sstevel@tonic-gateesac
100