Hajimu UMEMOTO
321000dda1
Install /etc/nsswitch.conf statically rather than generating it at
...
boot. Autogeneration of nsswitch.conf doesn't makes sense in 7.0
since it's not permitted to upgrade from a pre-nss release without
passing through an intermediate release.
Suggested by: brooks
2006-05-03 15:14:47 +00:00
Dag-Erling Smørgrav
f60446ffff
Update host.conf every time nsswitch.conf changes, instead of just creating
...
it if it does not exist.
Submitted by: Rostislav Krasny <rosti.bsd@gmail.com>
MFC after: 2 weeks
2006-05-01 11:02:48 +00:00
Hajimu UMEMOTO
bda1fb2baf
Oops, services should be compat by default for backward compatibility.
2006-04-29 06:39:07 +00:00
Hajimu UMEMOTO
de4bee5922
Add newly supported databases such as services, protocols and rpc
...
into generated nsswitch.conf.
2006-04-29 04:49:19 +00:00
Hajimu UMEMOTO
93dd0fa390
Remove an inappropriate comment which is put into generated
...
host.conf. Someone may want to edit it later.
Requested by: Rostislav Krasny <rosti.bsd__at__gmail.com>
2006-04-12 12:01:53 +00:00
Florent Thoumie
4442f896de
- Replace awk parts with shell.
...
Approved by: brooks
MFC after: 2 weeks
2006-03-20 18:00:14 +00:00
Mike Makonnen
337338ee00
Remove the requirement for the FreeBSD keyword as it no longer
...
makes any sense.
Discussed with: dougb, brooks
MFC after: 3 days
2004-10-07 13:55:26 +00:00
Giorgos Keramidas
a71fcfed55
Fix requirement of network' to
NETWORK' because the former isn't
...
provided by any rc.d script.
Approved by: mtm
2004-09-16 17:03:12 +00:00
Dag-Erling Smørgrav
e0ae81f32a
Correct an error carried over from the nsswitch.conf(5) manual page; add
...
a note to UPDATING since users may have to manually remove an incorrect
nsswitch.conf.
Noticed by: simon
2004-06-21 19:38:58 +00:00
Dag-Erling Smørgrav
cba155c0c2
If nsswitch.conf does not exist, create it with the default settings.
...
The reason for doing this is that (at least some) 4.x binaries are very
unhappy if host.conf does not exist, and if we create host.conf but not
nsswitch.conf, nsswitch.conf will be created at the next reboot, so it
is better to create a correct nsswitch.conf right away.
2004-05-24 11:53:26 +00:00
Dag-Erling Smørgrav
749f60c715
Move the task of updating nsswitch.conf / host.conf into a separate
...
script called nsswitch.
2004-05-24 11:48:58 +00:00