Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133770 Details for
Bug 196294
Support for service scripts in baselayout-prefix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against the runleven related scripts to replace /bin/pidof if it doesn't exist
baselayout-1.12.5-pidof.patch (text/plain), 513 bytes, created by
Dirk Tilger
on 2007-10-18 15:39:37 UTC
(
hide
)
Description:
Patch against the runleven related scripts to replace /bin/pidof if it doesn't exist
Filename:
MIME Type:
Creator:
Dirk Tilger
Created:
2007-10-18 15:39:37 UTC
Size:
513 bytes
patch
obsolete
>--- baselayout-1.12.5/sbin/rc-daemon.sh 2007-10-18 19:15:34 +0400 >+++ baselayout-1.12.5/sbin/rc-daemon.sh 2007-10-18 19:20:32 +0400 >@@ -186,10 +186,11 @@ > > for arg in "$@"; do > [[ ${arg##*/} == "rpc.nfsd" ]] && arg="${arg%/*}/nfsd" >- args="${args} '"${arg}"'" >+ args="${args} ${arg}" > done > >- eval /bin/pidof -x ${args} >+ #eval /bin/pidof -x ${args} >+ eval ps -Ao 'pid,command'|grep "^ *[0-9]* *${args}"|sed 's!^ *\([0-9]*\) .*$!\1!'|xargs echo -n > } > > # bool is_daemon_running(char* cmd, char* pidfile)
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 196294
:
133760
|
133761
|
133762
|
133766
|
133767
|
133768
|
133770
|
133772
|
190244
|
190245