Add some mdoc markup and remove hard sentence breaks.
[dragonfly.git] / share / examples / sliplogin / slip.login
1 #!/bin/sh -
2 #
3 #       @(#)slip.login  8.1 (Berkeley) 6/6/93
4
5 #
6 # generic login file for a slip line.  sliplogin invokes this with
7 # the parameters:
8 #      1        2         3        4          5         6     7-n
9 #   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
10 #
11 # Delete any arp table entries for this site, just in case
12 /usr/sbin/arp -d $5
13 # Bringup the line
14 /sbin/ifconfig sl$1 inet $4 $5 netmask $6
15 # Answer ARP request for the SLIP client with our Ethernet addr
16 # XXX - Must be filled in with the ethernet address of the local machine
17 # /usr/sbin/arp -s $5 00:00:c0:50:b9:0a pub
18 exit