Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 18:36:38 GMT
From:      Sahil Tandon <sahil@tandon.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/124167: removed reference to .sh suffix requirement and changed script permission from 755 -> 555
Message-ID:  <200805311836.m4VIacGv083422@www.freebsd.org>
Resent-Message-ID: <200805311840.m4VIe2rH029870@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124167
>Category:       docs
>Synopsis:       removed reference to .sh suffix requirement and changed script permission from 755 -> 555
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 31 18:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sahil Tandon
>Release:        FreeBSD 7.0
>Organization:
>Environment:
>Description:
In the config tuning section of the Handbook, there is mention of an archaic .sh extension requirement for rc scripts.  This is no longer a requirement and is thusly removed.  Also, scripts in rc.d are installed with unique permissions of 555 (not 755 as noted in the Handbook); that is also corrected in the attached diff.
>How-To-Repeat:

>Fix:
See attached diff.

Patch attached with submission follows:

--- doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml.old	2008-05-30 18:46:33.000000000 -0400
+++ doc/en_US.ISO8859-1/books/handbook/config/chapter.sgml	2008-05-30 19:08:09.000000000 -0400
@@ -367,13 +367,11 @@
 
     <para>While every script must meet some minimal requirements, most
       of the time these requirements are &os; version
-      agnostic.  Each script must have a <filename>.sh</filename>
-      extension appended to the end and every script must be
-      executable by the system.  The latter may be achieved by using
-      the <command>chmod</command> command and setting the unique permissions
-      of <literal>755</literal>.  There should also be, at minimal,
-      an option to <literal>start</literal> the application and an
-      option to <literal>stop</literal> the application.</para>
+      agnostic.  Each script must be executable by the system; this is 
+      typically achieved by using the <command>chmod</command> command and 
+      setting the unique permissions of <literal>555</literal>.  There should 
+      also be, at minimal, options to <literal>start</literal> and <literal>stop</literal> 
+      the application.</para>
 
     <para>The simplest start up script would probably look a little
       bit like this one:</para>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805311836.m4VIacGv083422>