From ba3a1e3dd3a4600d99d15e8559caff225d17daa7 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Thu, 26 Jul 1990 05:02:21 -0800 Subject: [PATCH] route metric done differently now SCCS-vsn: etc/netstart 5.7 --- usr/src/etc/netstart | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/usr/src/etc/netstart b/usr/src/etc/netstart index 2b42f7838f..2388ec3a47 100644 --- a/usr/src/etc/netstart +++ b/usr/src/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# @(#)netstart 5.6 (Berkeley) %G% +# @(#)netstart 5.7 (Berkeley) %G% routedflags=-q rwhod=NO @@ -19,5 +19,8 @@ ifconfig ex0 inet $hostname netmask my-netmask # /etc/enpload /dev/enp0ram /etc/enpcode > /dev/console 2>&1 ifconfig en0 inet $hostname netmask my-netmask -ifconfig lo0 inet localhost -route add $hostname localhost 0 +# set the address for the loopback interface +ifconfig lo0 inet localhost + +# use loopback, not the wire +route add $hostname localhost -- 2.20.1