Commit graph

7 commits

Author SHA1 Message Date
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Wesley Shields
61c2c660fe - Fix RC script so the flags are not duplicated.
- Properly quote a variable.
- Bump PORTREVISION.

PR:		ports/125522
Submitted by:	Glen Neff <neff_glen@emc.com>
Approved by:	maintainer timeout
2008-11-26 01:16:53 +00:00
SUZUKI Shinsuke
21819116f8 update to the latest package 2006-09-02 09:59:15 +00:00
SUZUKI Shinsuke
eef2566455 - updated to the last package
- make it port-lint compliant
- fixed a compilation failure in freebsd4

PR:	ports/98741
2006-06-24 05:57:26 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Munechika SUMIKAWA
992c828dd6 Add rc scripts.
Submitted by:	ume
2004-08-18 02:04:15 +00:00