1993-06-20 15:41:45 +02:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
|
|
|
# @(#)netstart 5.9 (Berkeley) 3/30/91
|
|
|
|
|
|
|
|
routedflags=-q
|
1993-07-19 23:08:53 +02:00
|
|
|
timedflags=NO
|
1993-06-20 15:41:45 +02:00
|
|
|
rwhod=NO
|
1993-07-19 23:08:53 +02:00
|
|
|
#kerberos_server=YES
|
|
|
|
#nfs_server=YES
|
|
|
|
#name_server=YES
|
|
|
|
#gated=YES
|
1993-06-20 15:41:45 +02:00
|
|
|
|
1993-07-19 23:08:53 +02:00
|
|
|
# my-name is my symbolic name
|
|
|
|
# my-netmask is specified in /etc/networks
|
1993-06-20 15:41:45 +02:00
|
|
|
#
|
1993-07-19 21:14:45 +02:00
|
|
|
hostname=`cat /etc/myname`
|
1993-06-20 15:41:45 +02:00
|
|
|
hostname $hostname
|
1993-07-19 21:14:45 +02:00
|
|
|
|
1993-07-19 23:08:53 +02:00
|
|
|
# ifconfig we0 inet $hostname netmask 447-ether
|
|
|
|
# ifconfig ne0 inet $hostname netmask my-netmask
|
|
|
|
# ifconfig ec0 inet $hostname netmask my-netmask
|
|
|
|
# ifconfig is0 inet $hostname netmask my-netmask
|
1993-08-09 11:14:47 +02:00
|
|
|
# ifconfig ed0 inet $hostname netmask my-netmask
|
1993-06-20 15:41:45 +02:00
|
|
|
|
|
|
|
# set the address for the loopback interface
|
1993-07-19 21:14:45 +02:00
|
|
|
ifconfig lo0 inet localhost
|
1993-06-20 15:41:45 +02:00
|
|
|
|
|
|
|
# use loopback, not the wire
|
1993-07-19 23:08:53 +02:00
|
|
|
# route add $hostname localhost
|