xref: /original-bsd/etc/netstart (revision f1324ba5)
1#!/bin/sh -
2
3#	@(#)netstart	5.3 (Berkeley) 10/24/88
4routedflags=-q
5rwhod=NO
6
7# myname is my symbolic name
8# my-netmask is specified in /etc/networks
9#
10hostname=myname.my.domain
11
12ifconfig imp0 inet $hostname
13ifconfig ace0 inet $hostname netmask my-netmask
14ifconfig lo0  inet localhost
15
16# for en enthernet interface, load microcode before ifconfig
17# /etc/enpload /dev/enp0ram /etc/enpcode	> /dev/console 2>&1
18ifconfig en0 inet $hostname netmask my-netmask
19
20route add $hostname localhost 0
21hostid $hostname
22