# on the local LAN. This is useful for configuring unicast DNS servers in \
# a DHCP-like fashion with mDNS.
# processname: avahi-dnsconfd
-# config:
-
-OTHER_AVAHI_OPTS=""
-
-# Source function library.
-. /etc/init.d/functions
-. /etc/sysconfig/network
+# config:
AVAHI_BIN=@sbindir@/avahi-dnsconfd
-if [ $1 == 'status' ]; then
+if [ "$1" = 'status' ]; then
test -x $AVAHI_BIN || exit 4
-else
+else
test -x $AVAHI_BIN || exit 5
fi
+OTHER_AVAHI_OPTS=""
+
+# Source function library.
+. /etc/init.d/functions
+. /etc/sysconfig/network
+
LOCKFILE=/var/lock/subsys/avahi-dnsconfd
base=${0##*/}
restart
;;
reload)
- reload
+ reload
;;
condrestart)
if [ -f $LOCKFILE ]; then
esac
exit $RETVAL
-