Bug 93621

Summary: [patch] porter's handbook: incorrect example of rc.d script
Product: Documentation Reporter: NIIMI Satoshi <sa2c>
Component: Books & ArticlesAssignee: Doug Barton <dougb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
book.diff none

Description NIIMI Satoshi 2006-02-21 07:20:03 UTC
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.
Comment 1 Doug Barton freebsd_committer freebsd_triage 2006-02-22 02:11:11 UTC
Responsible Changed
From-To: freebsd-doc->dougb


I made this change, so I'll test the fix.
Comment 2 Doug Barton freebsd_committer freebsd_triage 2006-05-18 06:05:25 UTC
State Changed
From-To: open->closed


Thanks for catching this! I solved the problem a different 
way (see the commit message) in order to make it more clear 
to someone who is not as good at shell scripting as you are. 

:) 

Doug