Ticket #199: avahi-init-failfast.patch
| File avahi-init-failfast.patch, 2.7 KB (added by scop, 4 years ago) |
|---|
-
initscript/fedora/avahi-dnsconfd.in
10 10 # processname: avahi-dnsconfd 11 11 # config: 12 12 13 OTHER_AVAHI_OPTS=""14 15 # Source function library.16 . /etc/init.d/functions17 . /etc/sysconfig/network18 19 13 AVAHI_BIN=@sbindir@/avahi-dnsconfd 20 14 21 15 if [ "$1" == 'status' ]; then … … 24 18 test -x $AVAHI_BIN || exit 5 25 19 fi 26 20 21 OTHER_AVAHI_OPTS="" 22 23 # Source function library. 24 . /etc/init.d/functions 25 . /etc/sysconfig/network 26 27 27 LOCKFILE=/var/lock/subsys/avahi-dnsconfd 28 28 29 29 base=${0##*/} -
initscript/fedora/avahi-daemon.in
10 10 # processname: avahi-daemon 11 11 # config: 12 12 13 OTHER_AVAHI_OPTS=""14 15 # Source function library.16 . /etc/init.d/functions17 . /etc/sysconfig/network18 19 13 AVAHI_BIN=@sbindir@/avahi-daemon 20 14 21 15 if [ "$1" == 'status' ]; then … … 24 18 test -x $AVAHI_BIN || exit 5 25 19 fi 26 20 21 OTHER_AVAHI_OPTS="" 22 23 # Source function library. 24 . /etc/init.d/functions 25 . /etc/sysconfig/network 26 27 27 LOCKFILE=/var/lock/subsys/avahi-daemon 28 28 29 29 base=${0##*/} -
initscript/mandriva/avahi-dnsconfd.in
8 8 # Description: A DNS configuration daemon using mDNS in a DHCP-like fashion 9 9 ### END INIT INFO 10 10 11 AVAHI_BIN=@sbindir@/avahi-dnsconfd 12 test -x $AVAHI_BIN || exit 5 13 11 14 # Source function library. 12 15 . /etc/init.d/functions 13 16 … … 16 19 # Check that networking is configured. 17 20 [ ${NETWORKING} = "no" ] && exit 0 18 21 19 AVAHI_BIN=@sbindir@/avahi-dnsconfd20 test -x $AVAHI_BIN || exit 521 22 22 start() { 23 23 echo -n $"Starting Avahi DNS daemon: " 24 24 $AVAHI_BIN -D -
initscript/mandriva/avahi-daemon.in
8 8 # Description: Avahi, a ZeroConf daemon whichs implements an mDNS stack 9 9 ### END INIT INFO 10 10 11 AVAHI_BIN=@sbindir@/avahi-daemon 12 test -x $AVAHI_BIN || exit 5 13 11 14 # Source function library. 12 15 . /etc/init.d/functions 13 16 … … 16 19 # Check that networking is configured. 17 20 [ ${NETWORKING} = "no" ] && exit 0 18 21 19 AVAHI_BIN=@sbindir@/avahi-daemon20 test -x $AVAHI_BIN || exit 521 22 22 start() { 23 23 echo -n $"Starting Avahi daemon: " 24 24 $AVAHI_BIN -D
