The NetBSD Project

CVS log for src/share/man/man5/rc.conf.5

[BACK] Up to [cvs.NetBSD.org] / src / share / man / man5

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-8


Revision 1.166.6.3 / (download) - annotate - [select for diffs], Sun Sep 13 12:13:13 2020 UTC (3 years, 7 months ago) by martin
Branch: netbsd-8
Changes since 1.166.6.2: +14 -2 lines
Diff to previous 1.166.6.2 (colored) to branchpoint 1.166 (colored) next main 1.167 (colored)

Pull up following revision(s) (requested by kim in ticket #1603):

	etc/rc.d/motd: revision 1.10
	etc/rc.d/motd: revision 1.11
	share/man/man5/rc.conf.5: revision 1.186
	share/man/man5/rc.conf.5: revision 1.187
	etc/defaults/rc.conf: revision 1.159

Add optional release info in /etc/motd

My personal preferencese for /etc/rc.conf:

    update_motd_release=YES
    motd_release_tag='Binaries: '

This provides an explanation to users about the second version in motd.

Document update_motd_release and motd_release_tag

New sentence, new line.

Make a ": " suffix a fixed part of the release info tag

This results in correct updates to /etc/motd even when the value of
motd_release_tag is changed (a likely event).

Add safe quoting to outputting the read kernel version.

Thanks to kre@ for the feedback.

Revision 1.166.6.2 / (download) - annotate - [select for diffs], Thu Apr 23 13:43:42 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-8
Changes since 1.166.6.1: +26 -2 lines
Diff to previous 1.166.6.1 (colored) to branchpoint 1.166 (colored)

Pull up following revision(s) (requested by kim in ticket #1537):

	share/man/man5/rc.conf.5: revision 1.172
	etc/rc.d/network: revision 1.75

Allow rc.conf to setup resolv.conf via resolvconf(8).

This allows all static network config to be in rc.conf rather than
spread across files.

Revision 1.166.6.1 / (download) - annotate - [select for diffs], Tue May 14 11:33:43 2019 UTC (4 years, 11 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.166: +5 -2 lines
Diff to previous 1.166 (colored)

Pull up following revision(s) (requested by maxv in ticket #1265):
	etc/rc.d/smtoff: revision 1.1
	etc/rc.d/smtoff: revision 1.2
	distrib/sets/lists/etc/mi: revision 1.258
	etc/rc.d/smtoff: revision 1.3
	etc/rc.d/smtoff: revision 1.4
	etc/defaults/rc.conf: revision 1.148
	etc/rc.d/Makefile: revision 1.103
	usr.sbin/postinstall/postinstall: revision 1.226
	etc/rc.d/Makefile: revision 1.104
	etc/mtree/special: revision 1.167
	share/man/man5/rc.conf.5: revision 1.180

Add smtoff, an rc.d script that disables Simultaneous Multi-Threading. It
parses the output of cpuctl, and executes "cpuctl offline" for each CPU
that has SmtID!=0.

The default is "smtoff=NO", which means that SMT remains enabled.
Restructure code a little.

Use quoting everywhere possibly useful (always the right way, except
in the few cases where it is wrong...)

Avoid using cut & grep (from /usr/bin) so script could run before /usr
is mounted (pity cpuctl is in /usr/sbin ...).

Use sysctl -n rather than attempting to parse its output.
install rc.d

No change...   Previous log message should have said:
  Install rc.d/smtoff

I should know better!   Don't rely upon the way the shell implements
pipes.   Skip the "error" printf from GetSmtId() as there is no easy
portable way to avoid it occurring (there are complicated ways) - but
we don't need it, there is no logical difference between "error" and ""
so just use the latter (if we get an ID, good, if there is nothing, then
there is none - saying 'error' does not mean anything.)

Remove comment, since there is no parsing anymore.

Revision 1.166 / (download) - annotate - [select for diffs], Sat Dec 17 07:44:59 2016 UTC (7 years, 4 months ago) by maya
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.165: +3 -3 lines
Diff to previous 1.165 (colored)

Change one more "generic DHCP client" reference to say dhcpcd rather
than dhclient

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>