<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/etc/rc.d/ddb, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-07-28T20:36:23Z</updated>
<entry>
<title>Move rc startup scripts from etc/ to sbin/init/</title>
<updated>2018-07-28T20:36:23Z</updated>
<author>
<name>Brad Davis</name>
<email>brd@FreeBSD.org</email>
</author>
<published>2018-07-28T20:36:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c'/>
<id>urn:sha1:1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c</id>
<content type='text'>
This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.

Approved by:	will (mentor)
Differential Revision:	https://reviews.freebsd.org/D16466
</content>
</entry>
<entry>
<title>Fix ddb rc script</title>
<updated>2018-04-19T15:02:53Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-04-19T15:02:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=addc1b6ce4256c360e0d8af47c3af0bc98d786fd'/>
<id>urn:sha1:addc1b6ce4256c360e0d8af47c3af0bc98d786fd</id>
<content type='text'>
r288291 added a call to limits(1), which isn't available before partitions
are mounted. This broke the ddb rc script, which does not provide its own
start_cmd.

Alleviate the situation here by providing a start_cmd. We still have other
problems with diskless setups that need to be considered, but this is a
start.

PR:		206291
Submitted by:	cy
Discussed with:	rgrimes
MFC after:	3 days
</content>
</entry>
<entry>
<title>- Add descriptions to most of the rc scripts. Those are mostly taken from their</title>
<updated>2016-04-23T16:10:54Z</updated>
<author>
<name>Lars Engels</name>
<email>lme@FreeBSD.org</email>
</author>
<published>2016-04-23T16:10:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6c1a5e837d2d886042767bcc7b7255b81acc0965'/>
<id>urn:sha1:6c1a5e837d2d886042767bcc7b7255b81acc0965</id>
<content type='text'>
  daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by:	bapt, brueffer
Differential Revision:	D452
</content>
</entry>
<entry>
<title>Prepare for the removal of set_rcvar() by changing the rcvar=</title>
<updated>2012-01-14T02:18:41Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2012-01-14T02:18:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=801c4383045d116b4db2e30682d22a0f0378c581'/>
<id>urn:sha1:801c4383045d116b4db2e30682d22a0f0378c581</id>
<content type='text'>
assignments to the literal values it would have returned.

The concept of set_rcvar() was nice in theory, but the forks
it creates are a drag on the startup process, which is especially
noticeable on slower systems, such as embedded ones.

During the discussion on freebsd-rc@ a preference was expressed for
using ${name}_enable instead of the literal values. However the
code portability concept doesn't really apply since there are so
many other places where the literal name has to be searched for
and replaced. Also, using the literal value is also a tiny bit
faster than dereferencing the variables, and every little bit helps.
</content>
</entry>
<entry>
<title>This change does the following for the scripts that run up through</title>
<updated>2010-05-19T19:03:19Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2010-05-19T19:03:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2822c33f8ccb2ff411fe3c28b47d95293647c61f'/>
<id>urn:sha1:2822c33f8ccb2ff411fe3c28b47d95293647c61f</id>
<content type='text'>
FILESYSTEMS (the default early_late_divider):
1. Move sysctl to run first
2. Move as many BEFOREs to REQUIREs as possible.
3. Minor effect, move hostid_save from right before mdconfig to right
   after.

A lot of the early scripts make use of sysctl one way or another so
running this first makes a lot of sense given that system-critical
values are often placed in sysctl.conf.

My original purpose for working on this was that while doing some
debugging on other stuff I noticed that the order of execution was
different in the first pass through the early scripts and the second.
In practice that doesn't matter because the scripts are not executed the
second time. However this _can_ result in problems if the difference in
the rcorder moves a script from the late section to the early section in
the second pass (which would mean the script would not get executed).
So, I wanted to make the order of execution of the scripts in the early
section more deterministic.

In the course of debugging the ordering problems I noticed that moving
the BEFOREs to REQUIREs prevented the changes in order from the first
pass to the second pass without having to make any substantial changes.
(Of course it's no secret that I think BEFORE should be avoided as much
as possible, but this is a good example of why.)

Reviewed by:	silence on freebsd-rc@
MFC after:	8.1-RELEASE
</content>
</entry>
<entry>
<title>As previously discussed, add the svn:executable property to all scripts</title>
<updated>2008-07-16T19:22:48Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2008-07-16T19:22:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b9851690c2169b48245ff1b770752f057251e85'/>
<id>urn:sha1:2b9851690c2169b48245ff1b770752f057251e85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use the new command file feature of ddb(8) to support setting ddb(4)</title>
<updated>2008-03-05T18:32:58Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2008-03-05T18:32:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ae2edb2af1f05163eadd3ad1998af8adb22001a9'/>
<id>urn:sha1:ae2edb2af1f05163eadd3ad1998af8adb22001a9</id>
<content type='text'>
scripts at boot.  This is currently disabled by default. /etc/ddb.conf
contains some potentially reasonable default scripts.

PR:		conf/119995
Submitted by:	Scot Hetzel &lt;swhetzel at gmail dot com&gt; (Earlier version)
X-MFC after:	textdumps
</content>
</entry>
</feed>
