Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1843 Details for
Bug 4222
A couple of extra scripts for Gentoo's RC system
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to catch missing directories in /mnt/.init.d
rc-status.patch (text/plain), 1.55 KB, created by
Sean E Russell
on 2002-06-27 21:20:11 UTC
(
hide
)
Description:
A patch to catch missing directories in /mnt/.init.d
Filename:
MIME Type:
Creator:
Sean E Russell
Created:
2002-06-27 21:20:11 UTC
Size:
1.55 KB
patch
obsolete
>*** rc-status Wed Jun 26 20:54:26 2002 >--- rc-status.new Thu Jun 27 19:14:08 2002 >*************** >*** 146,153 **** > started = Dir.entries( '/mnt/.init.d/started' ).delete_if(&filter) > # Read from /mnt/.init.d/failed and /mnt/.init.d/broken a list of broken > # services. >! failed = Dir.entries( '/mnt/.init.d/failed' ).delete_if(&filter) >! broken = Dir.entries( '/mnt/.init.d/broken' ).delete_if(&filter) > > > ################################################################################ >--- 146,153 ---- > started = Dir.entries( '/mnt/.init.d/started' ).delete_if(&filter) > # Read from /mnt/.init.d/failed and /mnt/.init.d/broken a list of broken > # services. >! failed = Dir.entries( '/mnt/.init.d/failed' ).delete_if(&filter) if File.exists? '/mnt/.init.d/failed' >! broken = Dir.entries( '/mnt/.init.d/broken' ).delete_if(&filter) if File.exists? '/mnt/.init.d/failed' > > > ################################################################################ >*************** >*** 173,181 **** > if started.include? service > print_msg GOOD, 'started' > else >! if failed.include? service > print_msg BAD, 'failed' >! elsif broken.include? service > print_msg BAD, 'broken' > else > print_msg WARN, 'off' >--- 173,181 ---- > if started.include? service > print_msg GOOD, 'started' > else >! if defined? failed and failed.include? service > print_msg BAD, 'failed' >! elsif defined? broken and broken.include? service > print_msg BAD, 'broken' > else > print_msg WARN, 'off'
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 4222
:
1828
|
1829
|
1843
|
1855
|
2738
|
6847
|
8349
|
8350