File:  [CSRG BSD Unix] / 43BSDReno / etc / netstart
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

#!/bin/sh -
#
#	@(#)netstart	5.8 (Berkeley) 7/25/90

routedflags=-q
timedflags=YES
rwhod=NO

# myname is my symbolic name
# my-netmask is specified in /etc/networks
#
hostname=myname.my.domain
hostname $hostname

ifconfig imp0 inet $hostname
ifconfig ace0 inet $hostname netmask my-netmask
ifconfig ex0 inet $hostname netmask my-netmask

# for en enthernet interface, load microcode before ifconfig
# /etc/enpload /dev/enp0ram /etc/enpcode	> /dev/console 2>&1
ifconfig en0 inet $hostname netmask my-netmask

# set the address for the loopback interface
ifconfig lo0 inet localhost

# use loopback, not the wire
route add $hostname localhost

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.