diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-29 01:36:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-29 01:36:58 +0200 |
commit | 17cb9485bbf194aadf94642eafe261303fe8a867 (patch) | |
tree | 1d39e35c7fc928996a084c7e828fc865185fac2e /initscript | |
parent | b0cab6e5f1186efe2367aee6ef05128b3b72d179 (diff) |
fedora: init LSB header to init scripts
Diffstat (limited to 'initscript')
-rw-r--r-- | initscript/fedora/avahi-daemon.in | 26 | ||||
-rw-r--r-- | initscript/fedora/avahi-dnsconfd.in | 26 |
2 files changed, 42 insertions, 10 deletions
diff --git a/initscript/fedora/avahi-daemon.in b/initscript/fedora/avahi-daemon.in index b1b6124..1367d2b 100644 --- a/initscript/fedora/avahi-daemon.in +++ b/initscript/fedora/avahi-daemon.in @@ -1,15 +1,31 @@ #!/bin/sh # -# avahi-daemon: Starts the Avahi Daemon +# avahi-daemon: Starts the Avahi mDNS/DNS-SD Stack # # chkconfig: 345 24 02 -# description: This is a daemon which runs on client machines to perform \ -# Zeroconf service discovery on a network. avahi-daemon must be \ -# running on systems that use Avahi for service discovery. \ -# Avahi-daemon should not be running otherwise. +# description: This is a daemon which runs on client machines to \ +# perform Zeroconf service discovery on a \ +# network. avahi-daemon must be running on systems that \ +# use Avahi for service discovery. Avahi-daemon should \ +# not be running otherwise. # processname: avahi-daemon # pidfile: @localstatedir@/run/avahi-daemon/pid +### BEGIN INIT INFO +# Required-Start: messagebus +# Required-Stopt: messagebus +# Should-Start: $syslog $network $local_fs +# Should-Stop: $syslog $local_fs +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Starts the Avahi Daemon +# Description: This is a daemon which runs on client machines to +# perform Zeroconf service discovery on a +# network. avahi-daemon must be running on systems +# that use Avahi for service discovery. +# Avahi-daemon should not be running otherwise. +### END INIT INFO + AVAHI_BIN=@sbindir@/avahi-daemon AVAHI_OPTS="-D" diff --git a/initscript/fedora/avahi-dnsconfd.in b/initscript/fedora/avahi-dnsconfd.in index df8b964..bd4182e 100644 --- a/initscript/fedora/avahi-dnsconfd.in +++ b/initscript/fedora/avahi-dnsconfd.in @@ -1,15 +1,31 @@ #!/bin/sh # -# avahi-dnsconfd: Starts the Avahi dns configuration daemon +# avahi-dnsconfd: Starts the Avahi DNS Configuration Daemon # # chkconfig: - 96 02 -# description: avahi-dnsconfd connects to a running avahi-daemon and runs the script \ -# /etc/avahi/dnsconf.action for each unicast DNS server that is announced \ -# on the local LAN. This is useful for configuring unicast DNS servers in \ -# a DHCP-like fashion with mDNS. +# description: avahi-dnsconfd connects to a running avahi-daemon and \ +# runs the script /etc/avahi/dnsconf.action for each \ +# unicast DNS server that is announced on the local \ +# LAN. This is useful for configuring unicast DNS servers \ +# in a DHCP-like fashion with mDNS. # processname: avahi-dnsconfd # pidfile: @localstatedir@/run/avahi-dnsconfd.pid +### BEGIN INIT INFO +# Required-Start: avahi-daemon +# Required-Stop: avahi-daemon +# Should-Start: $syslog $network $local_fs +# Should-Stop: $syslog $local_fs +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Starts the Avahi DNS Configuration Daemon +# Description: avahi-dnsconfd connects to a running avahi-daemon +# and runs the script /etc/avahi/dnsconf.action for +# each unicast DNS server that is announced on the +# local LAN. This is useful for configuring unicast +# DNS servers in a DHCP-like fashion with mDNS. +### END INIT INFO + AVAHI_BIN=@sbindir@/avahi-dnsconfd AVAHI_OPTS="-D" |