file reorg, pathnames.h, paths.h
[unix-history] / usr / src / etc / netstart
CommitLineData
34ca18a3 1#!/bin/sh -
9ec99ff6 2
bd92344a 3# @(#)netstart 5.4 (Berkeley) %G%
34ca18a3
KB
4routedflags=-q
5rwhod=NO
6
7# myname is my symbolic name
34ca18a3
KB
8# my-netmask is specified in /etc/networks
9#
10hostname=myname.my.domain
634be09a 11
34ca18a3
KB
12ifconfig imp0 inet $hostname
13ifconfig ace0 inet $hostname netmask my-netmask
14ifconfig lo0 inet localhost
15
634be09a
KB
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
34ca18a3 20route add $hostname localhost 0