Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.sbin / sliplogin / slip.login
blob1e3b027fb05c60df791762b06319a3769cde9d67
1 #!/bin/sh -
3 # $NetBSD: slip.login,v 1.3 1994/06/30 07:50:26 cgd Exp $
4 # from: @(#)slip.login 8.1 (Berkeley) 6/6/93
7 # generic login file for a slip line. sliplogin invokes this with
8 # the parameters:
9 # 1 2 3 4 5 6 7-n
10 # slipunit ttyspeed loginname local-addr remote-addr mask opt-args
12 UNIT=$1
13 LOCALADDR=$4
14 REMOTEADDR=$5
15 NETMASK=$6
16 shift 6
17 OPTARGS=$*
19 /sbin/ifconfig sl${UNIT} inet ${LOCALADDR} ${REMOTEADDR} netmask ${NETMASK} \
20 ${OPTARGS}
21 exit