mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
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.
This commit is contained in:
parent
c26491ecf4
commit
961fadf86f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user