From a4dd7f22afc8ca5e5c96fc01dc854accb69a44c8 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Sun, 27 Dec 2009 06:27:09 +0000 Subject: [PATCH] Update the comments about files ending in .sh Prompted by: Alex Kozlov --- etc/rc.subr | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/etc/rc.subr b/etc/rc.subr index 6ab070f2647c..7c48c4e46542 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -958,10 +958,11 @@ _run_rc_killcmd() # # run_rc_script file arg # Start the script `file' with `arg', and correctly handle the -# return value from the script. If `file' ends with `.sh', it's -# sourced into the current environment. If `file' appears to be -# a backup or scratch file, ignore it. Otherwise if it's -# executable run as a child process. +# return value from the script. +# If `file' ends with `.sh', it's sourced into the current environment +# when $rc_fast_and_loose is set, otherwise it is run as a child process. +# If `file' appears to be a backup or scratch file, ignore it. +# Otherwise if it is executable run as a child process. # run_rc_script() {