Commit graph

9 commits

Author SHA1 Message Date
Yaroslav Tykhiy
51a90a53d0 Explain how an rc.d script can use extra command-line arguments. 2007-03-03 10:11:34 +00:00
Yaroslav Tykhiy
9ec857d973 Fix my typo.
Spotted by:	Neal Clark <nclark at thrownproject dot org>
2007-03-02 11:04:27 +00:00
Yaroslav Tykhiy
2ad2c2ecc3 Insist on using ${name} as the prefix for global names even
stronger, as suggested by dougb@, but do so in the right context.
I.e., don't fire all the requirements at once in the last section,
but tell each of them where the current topic is most appropriate.

Polish some wording and markup.
2006-10-27 10:30:52 +00:00
Yaroslav Tykhiy
84a463560e Fix a typo and some markup nits 2006-10-26 17:09:29 +00:00
Yaroslav Tykhiy
d3b1240703 - Recommend using the same name for script itself,
${name}, PROVIDE, and rc.conf var prefix.
- Distinguish flags from options when telling why -foo
  doesn't belong in $command_args.  ${name}_flags can
  contain both dashed options and arguments, so saying
  "flags" when I mean options was confusing.

Suggested by:	dougb
2006-10-26 16:46:19 +00:00
Yaroslav Tykhiy
306a4b2db3 - Suggest using ${name} wherever appropriate.
- Be more concise and clear on the requirement of /bin/sh;
  the former details weren't really interesting.
- Link to the rc.d section of Porter's Handbook.
- Mention /etc/network.subr.

Suggested by:	dougb
2006-10-26 14:45:30 +00:00
Yaroslav Tykhiy
cef8c4f638 Replace raw '>' chars by "&gt;" entities in example for safety. 2006-10-26 11:41:45 +00:00
Joel Dahl
f9dd8e24dd Expand contraction. 2006-10-23 21:03:21 +00:00
Yaroslav Tykhiy
2808adf3f1 Finally add my article "Practical rc.d scripting in BSD" to the repo.
Reviewed on:	-rc, -doc
Reviewed by:	Gary W. Swearingen, David Thompson, Giorgos Keramidas
		(Thank you guys!)
2006-10-23 15:02:00 +00:00