Now that the last of the *.sh scripts are gone from the base,
emit a warning if come across one.
This commit is contained in:
parent
a77b10b321
commit
b004b4e45f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193118
@ -900,8 +900,8 @@ run_rc_script()
|
||||
eval unset ${_arg}_cmd ${_arg}_precmd ${_arg}_postcmd
|
||||
|
||||
case "$_file" in
|
||||
/etc/rc.d/*.sh) # run in current shell
|
||||
set $_arg; . $_file
|
||||
/etc/rc.d/*.sh) # no longer allowed in the base
|
||||
warn "Ignoring old-style startup script $_file"
|
||||
;;
|
||||
*[~#]|*.OLD|*.bak|*.orig|*,v) # scratch file; skip
|
||||
warn "Ignoring scratch file $_file"
|
||||
|
Loading…
Reference in New Issue
Block a user