summaryrefslogtreecommitdiffstats
path: root/etc/netstart
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-07-05 21:43:35 +0000
committernate <nate@FreeBSD.org>1993-07-05 21:43:35 +0000
commitb2b980b0d9d20c1199316aea521fa7f4cfa4a46d (patch)
tree84da7ac1acf3db527f9c6399b728777b257f265a /etc/netstart
parenta0b680d9d9b65fee5b0ca34cb99fa0b58262eedc (diff)
downloadFreeBSD-src-b2b980b0d9d20c1199316aea521fa7f4cfa4a46d.zip
FreeBSD-src-b2b980b0d9d20c1199316aea521fa7f4cfa4a46d.tar.gz
Fixed netstart to have a hard-coded localhost address.
This fixes situations where you don't have a correct localhost in your nameserver or no name-server.
Diffstat (limited to 'etc/netstart')
-rwxr-xr-xetc/netstart2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart
index 744e5f8..d0a28b1 100755
--- a/etc/netstart
+++ b/etc/netstart
@@ -23,7 +23,7 @@ ifconfig ne0 inet $hostname netmask my-netmask
ifconfig en0 inet $hostname netmask my-netmask
# set the address for the loopback interface
-ifconfig lo0 inet localhost
+ifconfig lo0 inet 127.0.0.1
# use loopback, not the wire
route add $hostname localhost
OpenPOWER on IntegriCloud