summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-12-27 06:27:09 +0000
committerdougb <dougb@FreeBSD.org>2009-12-27 06:27:09 +0000
commitfbaf5bc8597e285e6e84b613fee56b3c625b2317 (patch)
tree053b84a7fec9ad21378e4acb39b1d2e2c80d54d1 /etc
parent332c778a14fc541d583f5ec8256d07c7aeec79da (diff)
downloadFreeBSD-src-fbaf5bc8597e285e6e84b613fee56b3c625b2317.zip
FreeBSD-src-fbaf5bc8597e285e6e84b613fee56b3c625b2317.tar.gz
Update the comments about files ending in .sh
Prompted by: Alex Kozlov <spam@rm-rf.kiev.ua>
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 6ab070f..7c48c4e 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()
{
OpenPOWER on IntegriCloud