View | Details | Raw Unified | Return to bug 162642
Collapse All | Expand All

(-)rc.subr (-1 / +1 lines)
Lines 938-944 Link Here
938
	eval unset ${_arg}_cmd ${_arg}_precmd ${_arg}_postcmd
938
	eval unset ${_arg}_cmd ${_arg}_precmd ${_arg}_postcmd
939
939
940
	case "$_file" in
940
	case "$_file" in
941
	/etc/rc.d/*.sh)			# run in current shell
941
	*.sh)			# run in current shell
942
		set $_arg; . $_file
942
		set $_arg; . $_file
943
		;;
943
		;;
944
	*[~#]|*.OLD|*.bak|*.orig|*,v)	# scratch file; skip
944
	*[~#]|*.OLD|*.bak|*.orig|*,v)	# scratch file; skip

Return to bug 162642