head	4.2;
access
	hal
	ljg
	fred
	udo
	nigel;
symbols
	r12:4.2;
locks; strict;
comment	@# @;


4.2
date	94.05.23.19.34.01;	author rcsadmin;	state Exp;
branches;
next	;


desc
@@


4.2
log
@This is the baseline version
@
text
@# /usr/bin/modeminit 03/31/94
# Initialize modem, typically called from /etc/rc.
# This example initializes a Hayes-compatible modem for echo off, autoanswer.
# Please note that the baud rate is being only set for the AT command,
# and it is not being set as the default baud rate for the device.

DEV=/dev/modem
BAUD=2400

{ stty $BAUD
  cat >&1 <<\!
AT E0 V0 Q1 S0=1
!
} <$DEV >$DEV

# end of /usr/bin/modeminit
@
