#!/bin/ash /etc/rc.common
#
# this script needs to be placed in the 
# /etc/init.d directory and initialized
# by running the command: 
# '/etc/init.d/p.config enable'


START=55

start () {

 echo "   ... "

# create symbolic link to serial port
 sleep 1
 ln -s /dev/tts/1 /dev/prolite
 echo "   serial port linked to /dev/prolite"

# initialize port
 sleep 1
 setserial /dev/prolite port 0xB000400 irq 3
 echo "   serial port initialized on port 0xB000400 IRQ3"
 
# set speed and parameters
 sleep 1
 stty opost -ocrnl onlcr -echo 9600 < /dev/prolite
 echo "   serial port set to 9600,N81 with no echo and forced \\r\\n"
 
echo " "
echo " " 

}
