Bug 192697

Summary: /etc/rc.subr "find_local_scripts_old()" is broken for all versions of freebsd
Product: Base System Reporter: hostmaster
Component: confAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Many People    
Priority: ---    
Version: 9.2-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for /etc/rc.subr "find_local_scripts_old()" none

Description hostmaster 2014-08-16 01:21:59 UTC
Created attachment 145853 [details]
patch for /etc/rc.subr "find_local_scripts_old()"

If there are no /usr/local/etc/rc.d/*.sh scripts "$zlist" & "$slist" are non-empty upon return:

zlist=' /usr/local/etc/rc.d/[0-9]*.sh'
slist=' /usr/local/etc/rc.d/[^0-9]*.sh'

A patch is attached.