1#!/bin/sh - 2# 3# @(#)netstart 5.8 (Berkeley) 07/25/90 4 5routedflags=-q 6timedflags=YES 7rwhod=NO 8 9# myname is my symbolic name 10# my-netmask is specified in /etc/networks 11# 12hostname=myname.my.domain 13hostname $hostname 14 15ifconfig imp0 inet $hostname 16ifconfig ace0 inet $hostname netmask my-netmask 17ifconfig 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 21ifconfig en0 inet $hostname netmask my-netmask 22 23# set the address for the loopback interface 24ifconfig lo0 inet localhost 25 26# use loopback, not the wire 27route add $hostname localhost 28