: /usr/bin/modeminit 9/7/90
: Initialize modem, typically called from /etc/rc.
: This example initializes a Hayes-compatible modem for echo off, autoanswer.
: The sleep is required to keep the desired baud rate for the cat command.
DEV=/dev/modem
BAUD=9600
sleep 2 >$DEV&
stty $BAUD >$DEV
cat >$DEV <<\!
AT E0 S0=1
!
