|
|
1.1 root 1: #!/bin/sh -
2: #
3: # @(#)netstart 5.8 (Berkeley) 7/25/90
4:
5: routedflags=-q
6: timedflags=YES
7: rwhod=NO
8:
9: # myname is my symbolic name
10: # my-netmask is specified in /etc/networks
11: #
12: hostname=myname.my.domain
13: hostname $hostname
14:
15: ifconfig imp0 inet $hostname
16: ifconfig ace0 inet $hostname netmask my-netmask
17: ifconfig ex0 inet $hostname netmask my-netmask
18:
19: # for en enthernet interface, load microcode before ifconfig
20: # /etc/enpload /dev/enp0ram /etc/enpcode > /dev/console 2>&1
21: ifconfig en0 inet $hostname netmask my-netmask
22:
23: # set the address for the loopback interface
24: ifconfig lo0 inet localhost
25:
26: # use loopback, not the wire
27: route add $hostname localhost
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.