cvs commit: src/etc/rc.d ike named ppp-user sshd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Oct 26 23:34:08 PDT 2005
On Sun, Oct 23, 2005 at 02:06:53PM +0000, Yar Tikhiy wrote:
+> yar 2005-10-23 14:06:53 UTC
+>
+> FreeBSD src repository
+>
+> Modified files:
+> etc/rc.d ike named ppp-user sshd
+> Log:
+> Don't be lazy, set the "command" variable even if
+> /etc/defaults/rc.conf will provide foo_program, too.
+> By specifying "command" we explicitly say that we're
+> going to rely on rc.subr(8) default methods, and
+> rc.subr(8) will take advantage of this soon.
+>
+> The majority of our rc.d scripts already set "command"
+> if appropriate, so fix just the non-compliant handful.
[...]
+> name="named"
+> rcvar=`set_rcvar`
+> +command="/usr/sbin/${name}"
[...]
+> name="ppp"
+> rcvar=`set_rcvar`
+> +command="/usr/sbin/ppp"
[...]
+> name="sshd"
+> rcvar=`set_rcvar`
+> +command="/usr/sbin/${name}"
Any reason you didn't used ${name} in ppp case?
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20051027/f13f3d9e/attachment.bin
More information about the cvs-src
mailing list