Point out that _enable is not optional, and therefore should use the :
in parameter expansion. The future is now. :) All *.sh.in rc.d scripts have been copied to *.in, so no need to mention that it might happen someday.
This commit is contained in:
parent
df2f9f2250
commit
70c38224bf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39326
1 changed files with 4 additions and 4 deletions
|
@ -9241,13 +9241,13 @@ run_rc_command "$1"</programlisting>
|
|||
|
||||
<para>in their <filename>rc.conf.local</filename> file, and a
|
||||
variable substitution using ":=" would
|
||||
inappropriately override the user's intention.</para>
|
||||
inappropriately override the user's intention. The
|
||||
<literal>_enable</literal> variable is not optional,
|
||||
and should use the ":" for the default.</para>
|
||||
|
||||
<note>
|
||||
<para>No new scripts should be added with the
|
||||
<filename>.sh</filename> suffix. At some point there will
|
||||
be a mass repocopy of all the scripts that still have that
|
||||
suffix.</para>
|
||||
<filename>.sh</filename> suffix.</para>
|
||||
</note>
|
||||
|
||||
<sect2>
|
||||
|
|
Loading…
Reference in a new issue