RFC: Alternate patch to have true new-style rc.d scripts in
ports (without touching localpkg)
Andrey Chernov
ache at nagual.pp.ru
Sat Jul 31 08:33:12 PDT 2004
On Sat, Jul 31, 2004 at 06:19:44PM +0300, Mike Makonnen wrote:
> scripts that have a .sh, and those that don't. If you really want
> your script to be sourced in the same shell, then you give it a
> .sh extension. Otherwise, it will be sourced in a subshell. So, when
It can make things even worse, what if someone rename his rc.subr-ed
script.sh to script.sh.old ? It was common practice in the past to not
execute anything without .sh at all.
--
Andrey Chernov | http://ache.pp.ru/
More information about the freebsd-rc
mailing list