Date: Fri, 24 Mar 2006 12:15:49 +0000 From: Florent Thoumie <flz@xbsd.org> To: freebsd-rc@FreeBSD.org Subject: rc.subr / rc.d/sshd patch for review Message-ID: <1143202549.16053.145.camel@mayday.esat.net>
index | next in thread | raw e-mail
This is based on Oliver's patch for rc.d/sshd that can be found in
Gnats.
In load_rc_config, I'm extracting prefix from ${command} (or
${name}_program, which part is moved from run_rc_command), and setting
etcdir accordingly.
The point is that some scripts (like rc.d/sshd) can be used for base
sshd as well as ports sshd, and makes possible to source
${prefix}/etc/rc.conf.d/${name}.
This patch also documents ${name}_program above run_rc_command (though
it's actually used in load_rc_config).
The patch can be found at
http://people.freebsd.org/~flz/local/rc.d-sshd.diff.
--
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1143202549.16053.145.camel>
