FreeBSD Bugzilla – Attachment 145853 Details for
Bug 192697
/etc/rc.subr "find_local_scripts_old()" is broken for all versions of freebsd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for /etc/rc.subr "find_local_scripts_old()"
rc.subr.diff (text/plain), 693 bytes, created by
hostmaster
on 2014-08-16 01:21:59 UTC
(
hide
)
Description:
patch for /etc/rc.subr "find_local_scripts_old()"
Filename:
MIME Type:
Creator:
hostmaster
Created:
2014-08-16 01:21:59 UTC
Size:
693 bytes
patch
obsolete
>--- /etc/rc.subr.2103120300 2013-12-03 10:08:36.000000000 -0500 >+++ /etc/rc.subr 2014-08-15 17:41:35.000000000 -0400 >@@ -1653,17 +1653,23 @@ > slist='' > for dir in ${local_startup}; do > if [ -d "${dir}" ]; then >- for file in ${dir}/[0-9]*.sh; do >+ f=${dir}/[0-9]*.sh >+ if [ "`echo $f`" != "$f" ]; then >+ for file in $f; do > grep '^# PROVIDE:' $file >/dev/null 2>&1 && > continue > zlist="$zlist $file" > done >- for file in ${dir}/[^0-9]*.sh; do >+ fi >+ f=${dir}/[^0-9]*.sh >+ if [ "`echo $f`" != "$f" ]; then >+ for file in $f; do > grep '^# PROVIDE:' $file >/dev/null 2>&1 && > continue > slist="$slist $file" > done > fi >+ fi > done > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192697
: 145853