Add a cvsup example to track the 1.4 release.
[dragonfly.git] / share / examples / startslip / slup.sh
1 #!/bin/sh
2 myname=<my.ip.address>
3 gateway=<gateway.ip.address>
4 netmask=255.255.255.248
5 tune1="link0 -link2"    # force headers compression
6 tune2="mtu 296"         # for FreeBSD 1.x host
7
8 case $LINE in
9         0) tune=$tune1;;        # 1st phone connected
10         1) tune=$tune2;;        # 2nd phone connected
11         *) tune=;;              # others
12 esac
13
14 /sbin/ifconfig $1 $2 $tune
15 /sbin/ifconfig $1 inet $myname $gateway netmask $netmask
16 /sbin/route add default $gateway