diff options
author | nate <nate@FreeBSD.org> | 1993-07-05 21:43:35 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1993-07-05 21:43:35 +0000 |
commit | b2b980b0d9d20c1199316aea521fa7f4cfa4a46d (patch) | |
tree | 84da7ac1acf3db527f9c6399b728777b257f265a /etc/netstart | |
parent | a0b680d9d9b65fee5b0ca34cb99fa0b58262eedc (diff) | |
download | FreeBSD-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-x | etc/netstart | 2 |
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 |