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 155008 Details for
Bug 237802
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]
A proposed patch for the avahi-daemon init script
avahi-daemon-init-lsb.patch (text/plain), 1.37 KB, created by
Jakub Hrozek
on 2007-05-18 15:38:42 UTC
(
hide
)
Description:
A proposed patch for the avahi-daemon init script
Filename:
MIME Type:
Creator:
Jakub Hrozek
Created:
2007-05-18 15:38:42 UTC
Size:
1.37 KB
patch
obsolete
>--- inits/avahi-daemon 2007-05-18 18:26:37.000000000 +0200 >+++ /etc/init.d/avahi-daemon 2007-05-18 19:24:02.000000000 +0200 >@@ -17,17 +17,17 @@ > > . /etc/sysconfig/network > >-# Check that networking is configured. >-[ ${NETWORKING} = "no" ] && exit 0 >- > AVAHI_BIN=/usr/sbin/avahi-daemon >-test -x $AVAHI_BIN || exit 5 >- > LOCKFILE=/var/lock/subsys/avahi-daemon > > base=${0##*/} > > start() { >+ # Check that networking is configured. >+ [ ${NETWORKING} = "no" ] && exit 1 >+ # Check that the program is installed >+ test -x $AVAHI_BIN || exit 5 >+ > echo -n $"Starting Avahi daemon... " > if [ -s /etc/localtime ]; then > cp -fp /etc/localtime /etc/avahi/etc >/dev/null 2>&1 >@@ -45,6 +45,8 @@ > } > > stop() { >+ # Check that the program is installed >+ test -x $AVAHI_BIN || exit 5 > echo -n $"Shutting down Avahi daemon: " > $AVAHI_BIN -k > RETVAL=$? >@@ -55,6 +57,8 @@ > } > > reload() { >+ # Check that the program is installed >+ test -x $AVAHI_BIN || exit 5 > echo -n $"Reloading Avahi daemon... " > $AVAHI_BIN -r > RETVAL=$? >@@ -79,9 +83,8 @@ > stop > ;; > status) >- $AVAHI_BIN -c >- RETVAL=$? >- [ $RETVAL = 0 ] && echo $"Avahi daemon is running" || echo $"Avahi daemon is not running" >+ status $AVAHI_BIN >+ RETVAL=$? > > ;; > restart) >@@ -97,7 +100,7 @@ > ;; > *) > echo $"Usage: $0 {start|stop|status|restart|condrestart}" >- exit 1 >+ RETVAL=3 > esac > > 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 237802
: 155008 |
155009