看板 FB_doc 關於我們 聯絡資訊
>Number: 93621 >Category: docs >Synopsis: [patch] porter's handbook: incorrect example of rc.d script >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 21 07:20:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: NIIMI Satoshi >Release: FreeBSD 6.0-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD berkeley.l.sa2c.net 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #3: Thu Feb 2 20:03:08 JST 2006 root@berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The example rc.d script in section 6.15 "Starting and stopping services (rc scripts)" does not work because it uses variables before set. Some ports (security/clamsmtp for example) follow the example and fall in the pit. >How-To-Repeat: >Fix: --- book.diff begins here --- Index: book.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v retrieving revision 1.681 diff -u -r1.681 book.sgml --- book.sgml 20 Feb 2006 20:06:36 -0000 1.681 +++ book.sgml 21 Feb 2006 07:06:34 -0000 @@ -5952,7 +5952,7 @@ rcvar=${name}_enable command=%%PREFIX%%/sbin/doormand -command_args="-p $pidfile -f $doormand_config" +command_args='-p $pidfile -f $doormand_config' pidfile=/var/run/doormand.pid load_rc_config $name --- book.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"