Subject: CVS commit: basesrc/etc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 02/25/2002 08:58:15
Module Name:	basesrc
Committed By:	lukem
Date:		Mon Feb 25 06:58:15 UTC 2002

Modified Files:
	basesrc/etc: rc.subr

Log Message:
run_rc_script() improvements:
- always unset the variables used by run_rc_command() before sourcing an
  rc.d script, rather than just when rc_fast_and_loose is in effect.
  this allows run_rc_command() to be used in .sh scripts (with care).
- remove comment describing now-former limitation of .sh scripts.
- make the rc_fast_and_loose check only after the `` not *.sh / not scratch
  / script-is-executable '' checks.  rc_fast_and_loose now behaves a lot more
  like the normal operation, in that it skips scratch files and
  non-executable files


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 basesrc/etc/rc.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.