<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/etc/rc.d/moused, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Move rc startup scripts from etc/ to sbin/init/</title>
<updated>2018-07-28T20:36:23+00:00</updated>
<author>
<name>Brad Davis</name>
<email>brd@FreeBSD.org</email>
</author>
<published>2018-07-28T20:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>- Add descriptions to most of the rc scripts. Those are mostly taken from their</title>
<updated>2016-04-23T16:10:54+00:00</updated>
<author>
<name>Lars Engels</name>
<email>lme@FreeBSD.org</email>
</author>
<published>2016-04-23T16:10:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6c1a5e837d2d886042767bcc7b7255b81acc0965'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  daemon's manpage and probably improved.
- Consistently use "filesystem" not "file system".

Approved by:	bapt, brueffer
Differential Revision:	D452
</pre>
</div>
</content>
</entry>
<entry>
<title>Simply things so that "#REQUIRE: FILESYSTEMS" means the file</title>
<updated>2012-09-11T05:04:59+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2012-09-11T05:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8801556beb2c13ba0c9b253045f8492cc1265b44'/>
<id>8801556beb2c13ba0c9b253045f8492cc1265b44</id>
<content type='text'>
systems are fully "ready to go".

'FILESYSTEMS' states: "This is a dummy dependency, for services which
require file systems to be mounted before starting."  However, we have
'var' which is was run after 'FILESYSTEMS' and can mount /var if it
already isn't mounted.  Furthermore, several scripts cannot use /var
until 'cleanvar' has done its thing.  Thus "FILESYSTEMS" hasn't really
meant all critical file systems are fully usable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
systems are fully "ready to go".

'FILESYSTEMS' states: "This is a dummy dependency, for services which
require file systems to be mounted before starting."  However, we have
'var' which is was run after 'FILESYSTEMS' and can mount /var if it
already isn't mounted.  Furthermore, several scripts cannot use /var
until 'cleanvar' has done its thing.  Thus "FILESYSTEMS" hasn't really
meant all critical file systems are fully usable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for the removal of set_rcvar() by changing the rcvar=</title>
<updated>2012-01-14T02:18:41+00:00</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2012-01-14T02:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=801c4383045d116b4db2e30682d22a0f0378c581'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>In regards to the "Starting foo:" type messages at boot time, create and</title>
<updated>2009-10-10T22:17:03+00:00</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2009-10-10T22:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=70d4ef1ea19075a48d3dfe3012c6a1aba185c718'/>
<id>70d4ef1ea19075a48d3dfe3012c6a1aba185c718</id>
<content type='text'>
employ a more generic solution, and use it in the individual rc.d scripts
that also have an $rc_quiet test:

1. Add check_startmsgs() to rc.subr.
2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute
variations of [ -z "$rc_quiet" ] with check_startmsgs
3. In savecore add a trailing '.' to the end of the message to make it
more consistent with other scripts.
4. In newsyslog remove a : before the terminal '.' since we do not expect
there to be anything printed out in between to make it more consistent.
5. In the following scripts change "quotes" to 'quotes' where no variables
exist in the message: savecore pf newsyslog
6. In the following scripts substitute if/then/fi for the simpler (and
more consistent) check_startmsgs &amp;&amp;: faith stf
7. In the following scripts separate the "Starting foo:" from the terminal
'.' to make them more consistent: moused hostname pf
8. In nfsclient move the message to its own line to avoid a style bug
9. In pf rc_quiet does not apply to the _stop method, so remove the
test there.
10. In motd add 'quotes' around the terminal '.' for consistency
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
employ a more generic solution, and use it in the individual rc.d scripts
that also have an $rc_quiet test:

1. Add check_startmsgs() to rc.subr.
2. In the rc.d scripts that use rc_quiet (and rc.subr) substitute
variations of [ -z "$rc_quiet" ] with check_startmsgs
3. In savecore add a trailing '.' to the end of the message to make it
more consistent with other scripts.
4. In newsyslog remove a : before the terminal '.' since we do not expect
there to be anything printed out in between to make it more consistent.
5. In the following scripts change "quotes" to 'quotes' where no variables
exist in the message: savecore pf newsyslog
6. In the following scripts substitute if/then/fi for the simpler (and
more consistent) check_startmsgs &amp;&amp;: faith stf
7. In the following scripts separate the "Starting foo:" from the terminal
'.' to make them more consistent: moused hostname pf
8. In nfsclient move the message to its own line to avoid a style bug
9. In pf rc_quiet does not apply to the _stop method, so remove the
test there.
10. In motd add 'quotes' around the terminal '.' for consistency
</pre>
</div>
</content>
</entry>
<entry>
<title>Small cleanup, add (spurious) quotation marks around the value</title>
<updated>2009-05-30T21:51:38+00:00</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2009-05-30T21:51:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fe9e60d287c9eda46e9c7f779142d359ebdd616b'/>
<id>fe9e60d287c9eda46e9c7f779142d359ebdd616b</id>
<content type='text'>
for name= to make these scripts consistent with the rest.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for name= to make these scripts consistent with the rest.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the shutdown KEYWORD to those scripts that start persistent services</title>
<updated>2008-07-16T19:50:29+00:00</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2008-07-16T19:50:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=04f0f225dd6e7385d69013002e9770207846216d'/>
<id>04f0f225dd6e7385d69013002e9770207846216d</id>
<content type='text'>
to allow them to do a "clean" shutdown.

I purposely avoided making changes to network-related stuff since the
system shutting down is pretty conclusive, and there may be complicated
dependencies on the network that I would rather not try to unravel.

I also skipped kerberos-related stuff for the reasons above, and
because I have no way to test it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to allow them to do a "clean" shutdown.

I purposely avoided making changes to network-related stuff since the
system shutting down is pretty conclusive, and there may be complicated
dependencies on the network that I would rather not try to unravel.

I also skipped kerberos-related stuff for the reasons above, and
because I have no way to test it.
</pre>
</div>
</content>
</entry>
<entry>
<title>As previously discussed, add the svn:executable property to all scripts</title>
<updated>2008-07-16T19:22:48+00:00</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2008-07-16T19:22:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2b9851690c2169b48245ff1b770752f057251e85'/>
<id>2b9851690c2169b48245ff1b770752f057251e85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move a lot of diagnostic output behind $rc_quiet in scripts that</title>
<updated>2008-06-23T04:46:54+00:00</updated>
<author>
<name>Mike Makonnen</name>
<email>mtm@FreeBSD.org</email>
</author>
<published>2008-06-23T04:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=94789e5ca4ff7c51f9580f3418fd16ad6d35c81f'/>
<id>94789e5ca4ff7c51f9580f3418fd16ad6d35c81f</id>
<content type='text'>
implement their own start command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
implement their own start command.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d files</title>
<updated>2007-12-08T07:20:23+00:00</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2007-12-08T07:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e3c46a3332ca75f03905d73ea4d766e7cc267fea'/>
<id>e3c46a3332ca75f03905d73ea4d766e7cc267fea</id>
<content type='text'>
with theirs, so this information doesn't need to be in the live file.
Having it in our CVS history is enough.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with theirs, so this information doesn't need to be in the live file.
Having it in our CVS history is enough.
</pre>
</div>
</content>
</entry>
</feed>
