freebsd-nq/etc/netstart
Rodney W. Grimes 54d88c88d6 Pulled in patch kit 0.2.4 netstart, added ifconfig ed0 line. This is a
crock so I can get the binaries released.
1993-07-19 21:08:53 +00:00

30 lines
659 B
Bash
Executable File

#!/bin/sh -
#
# @(#)netstart 5.9 (Berkeley) 3/30/91
routedflags=-q
timedflags=NO
rwhod=NO
#kerberos_server=YES
#nfs_server=YES
#name_server=YES
#gated=YES
# my-name is my symbolic name
# my-netmask is specified in /etc/networks
#
hostname=`cat /etc/myname`
hostname $hostname
# 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
# ifconfig ed0 inet $hostname netwask my-netmask
# set the address for the loopback interface
ifconfig lo0 inet localhost
# use loopback, not the wire
# route add $hostname localhost