Bug 192697 - /etc/rc.subr "find_local_scripts_old()" is broken for all versions of freebsd
Summary: /etc/rc.subr "find_local_scripts_old()" is broken for all versions of freebsd
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 9.2-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-16 01:21 UTC by hostmaster
Modified: 2014-08-16 01:21 UTC (History)
0 users

See Also:


Attachments
patch for /etc/rc.subr "find_local_scripts_old()" (693 bytes, patch)
2014-08-16 01:21 UTC, hostmaster
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.