#!/bin/sh -
# 
#	@(#)slip.login	5.1 (Berkeley) 7/1/90
#
# generic login file for a slip line (see sliplogin(8) for further
# details). sliplogin invokes this with the parameters:
#      1        2      3      4         5          6        7     8-n
#   slipunit ttyspeed pid loginname local-addr remote-addr mask opt-args
#
/sbin/ifconfig $1 $5 pointopoint $6 mtu 296 arp -trailers up
/sbin/route add $6 $1
#
#in case you have an ethernet card this will announce the slip client
#xx:xx:xx:xx has to be replaced by your hardware address
#/sbin/arp -s $6 xx:xx:xx:xx pub
#
#Your own game like a timeout or logging.
#echo kill $3 | /usr/bin/at now + 30 minutes
#
#Really important ! Don't delete this exit 0
exit 0
