diff options
-rw-r--r-- | distrib/miniroot/install.sub | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 5174c3cdfbb..bd64f888c01 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.328 2004/02/08 11:31:43 krw Exp $ +# $OpenBSD: install.sub,v 1.329 2004/02/08 17:42:28 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2003 Todd Miller, Theo de Raadt, Ken Westerback @@ -650,7 +650,7 @@ enable_network() { # Set the address for the loopback interface. Bringing the # interface up, automatically invokes the IPv6 address ::1. - ifconfig lo0 inet localhost + ifconfig lo0 inet 127.0.0.1 # configure all of the non-loopback interfaces which we know about. # refer to hostname.if(5) @@ -729,7 +729,7 @@ enable_network() { if [ "$bcaddr" -a "$bcaddr" != "NONE" ]; then cmd="$cmd broadcast $bcaddr" fi - [ "$alias" ] && rtcmd="; route -n add -host $name 127.0.0.1" + [ "$alias" ] && rtcmd="; route -qn add -host $name 127.0.0.1" ;; inet6) # Ignore IPv6 setup @@ -748,7 +748,7 @@ enable_network() { # that name must be in /etc/hosts. if [ -f /mnt/etc/mygate ]; then route delete default >/dev/null 2>&1 - route -n add -host default $(< /mnt/etc/mygate) + route -qn add -host default $(< /mnt/etc/mygate) fi # Use loopback, not the wire. |