Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Sat, 31 Jul 2004 19:33:03 +0400
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/
Received on Sat Jul 31 2004 - 13:33:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC