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:
Doug Barton 2012-08-06 00:48:00 +00:00
parent df2f9f2250
commit 70c38224bf
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39326

View file

@ -9241,13 +9241,13 @@ run_rc_command "$1"</programlisting>
<para>in their <filename>rc.conf.local</filename> file, and a
variable substitution using &quot;:=&quot; 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 &quot;:&quot; 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>