Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 161193 Details for
Bug 244211
RHEL5: Wrong init script
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix this issue
salinfo_init_scripts.patch (text/plain), 1.07 KB, created by
Prarit Bhargava
on 2007-08-13 18:05:24 UTC
(
hide
)
Description:
Patch to fix this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2007-08-13 18:05:24 UTC
Size:
1.07 KB
patch
obsolete
>diff -urNp salinfo-1.1.orig/salinfo-etc-init.d-salinfo_decode_all salinfo-1.1/salinfo-etc-init.d-salinfo_decode_all >--- salinfo-1.1.orig/salinfo-etc-init.d-salinfo_decode_all 2007-08-13 11:52:22.000000000 -0400 >+++ salinfo-1.1/salinfo-etc-init.d-salinfo_decode_all 2007-08-13 11:59:01.000000000 -0400 >@@ -13,14 +13,8 @@ > . /etc/init.d/functions > > prog="salinfo_decode_all" >- >-test -x /usr/sbin/$prog || exit 0 > . /etc/sysconfig/$prog > >-# >-# See how we were called. >-# >- > start() { > # Check if salinfo_decode_all is already running > if [ ! -f /var/lock/subsys/$prog ]; then >@@ -35,7 +29,7 @@ start() { > > stop() { > echo -n $"Stopping $prog: " >- killproc $prog >+ killproc /usr/sbin/$prog > RETVAL=$? > [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog > echo >@@ -52,6 +46,11 @@ reload() { > restart > } > >+status_at() { >+ status /usr/sbin/$prog >+ RETVAL=$? >+} >+ > case "$1" in > start) > start >@@ -68,11 +67,11 @@ condrestart) > fi > ;; > status) >- status $prog >+ status_at > ;; > *) > echo $"Usage: $0 {start|stop|restart|condrestart|status}" >- exit 1 >+ RETVAL=3 > esac > >-exit $? >+exit $RETVAL
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 244211
: 161193 |
161194
|
307047