ANSIfication; bug report 4.3BSD/bin/223
[unix-history] / usr / src / etc / netstart
#!/bin/sh -
# @(#)netstart 5.3 (Berkeley) %G%
routedflags=-q
rwhod=NO
# myname is my symbolic name
# my-netmask is specified in /etc/networks
#
hostname=myname.my.domain
ifconfig imp0 inet $hostname
ifconfig ace0 inet $hostname netmask my-netmask
ifconfig lo0 inet localhost
# 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
route add $hostname localhost 0
hostid $hostname