Date: Sat, 22 Jul 2006 15:14:49 +0400 From: Yar Tikhiy <yar@comp.chem.msu.su> To: freebsd-rc@freebsd.org Subject: Generalising ${required_*} Message-ID: <20060722111449.GE10321@comp.chem.msu.su>
next in thread | raw e-mail | index | archive | help
Hi all, As of now, the ${required_*} variables work only in rc.d scripts using the default start method. I've found that making ${required_*} work in scripts that override the default start method can help us to reduce code duplication in /etc/rc.d. In particular, I'd like to introduce ${required_modules} because quite a few scripts have to have a prestart method just to load a kernel module. Do you think such change would make sense? Thanks. Its prototype can be found in my P4 tree: //depot/user/yar/hack/etc/... (also available via www at http://perforce.freebsd.org) -- Yar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060722111449.GE10321>