History log of /freebsd-9.3-release/etc/rc.d/nsswitch
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 213202 27-Sep-2010 imp

Prefer echo over printf


# 201445 03-Jan-2010 gavin

Forced commit, to provide correct commit message for r201440:

Don't complain when we encounter the "cache" source, it's valid. Also fix
the error message to include a line feed and not include a stray comma.

PR: bin/121671
Submitted by: Artis Caune artis.caune gmail.com
Approved by: ed (mentor)
MFC after: 2 weeks

While here, change "> /dev/stderr" for more usual ">&2"

Submitted by: jilles


# 201440 03-Jan-2010 gavin

The default hash table size is 257 not 255. Reword the rest of the line
slightly while here.

PR: bin/121671
Submitted by: Artis Caune artis.caune gmail.com
Approved by: ed (mentor)


# 180563 16-Jul-2008 dougb

As previously discussed, add the svn:executable property to all scripts


# 165664 30-Dec-2006 yar

Eliminate global symbols starting with an underscore from rc.d
scripts, except for mdconfig* and jail. Such symbols are reserved
for the rc.subr internals. Most scripts can be fixed by just
declaring _foo symbols as local: few scripts actually need them to
be global.

Discussed with: dougb in freebsd-rc


# 158266 03-May-2006 ume

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


# 158211 01-May-2006 des

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


# 158141 29-Apr-2006 ume

Oops, services should be compat by default for backward compatibility.


# 158139 29-Apr-2006 ume

Add newly supported databases such as services, protocols and rpc
into generated nsswitch.conf.


# 157682 12-Apr-2006 ume

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>


# 156917 20-Mar-2006 flz

- Replace awk parts with shell.

Approved by: brooks
MFC after: 2 weeks


# 136224 07-Oct-2004 mtm

Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days


# 135305 16-Sep-2004 keramida

Fix requirement of `network' to `NETWORK' because the former isn't
provided by any rc.d script.

Approved by: mtm


# 130870 21-Jun-2004 des

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


# 129651 24-May-2004 des

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.


# 129650 24-May-2004 des

Move the task of updating nsswitch.conf / host.conf into a separate
script called nsswitch.