Update the comment about handling old-style rc(5) scripts
The old-style (*.sh) scripts in /etc/rc.d are explicitly ignored, whereas other scripts ending in .sh are permitted
This commit is contained in:
parent
daebf39a41
commit
1b44fd7506
@ -1266,8 +1266,11 @@ _run_rc_killcmd()
|
|||||||
# run_rc_script file arg
|
# run_rc_script file arg
|
||||||
# Start the script `file' with `arg', and correctly handle the
|
# Start the script `file' with `arg', and correctly handle the
|
||||||
# return value from the script.
|
# return value from the script.
|
||||||
# If `file' ends with `.sh', it's sourced into the current environment
|
# If `file' ends with `.sh' and lives in /etc/rc.d, ignore it as it's
|
||||||
# when $rc_fast_and_loose is set, otherwise it is run as a child process.
|
# an old-style startup file.
|
||||||
|
# If `file' ends with `.sh' and does not live in /etc/rc.d, it's sourced
|
||||||
|
# into the current environment if $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.
|
# If `file' appears to be a backup or scratch file, ignore it.
|
||||||
# Otherwise if it is executable run as a child process.
|
# Otherwise if it is executable run as a child process.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user