From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YNIDG-0005ux-F0 for ptxdist@pengutronix.de; Mon, 16 Feb 2015 10:43:34 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YNIDG-0004No-Dh for ptxdist@pengutronix.de; Mon, 16 Feb 2015 10:43:34 +0100 Date: Mon, 16 Feb 2015 10:43:34 +0100 From: Michael Olbrich Message-ID: <20150216094334.GE7021@pengutronix.de> References: <1423572613-27623-1-git-send-email-guille.rodriguez@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1423572613-27623-1-git-send-email-guille.rodriguez@gmail.com> Subject: Re: [ptxdist] [PATCH] Init script was ignoring OPTIONS variable Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Feb 10, 2015 at 01:50:13PM +0100, Guillermo Rodriguez wrote: > The init script defines an OPTIONS variable (which can be overriden by > an additional config file in /etc/default/avahi-daemon) but then ignores > this OPTIONS variable when starting the daemon. Thanks, applied. Michael > --- > generic/etc/init.d/avahi-daemon | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/generic/etc/init.d/avahi-daemon b/generic/etc/init.d/avahi-daemon > index 7dc8be6..27c22cc 100644 > --- a/generic/etc/init.d/avahi-daemon > +++ b/generic/etc/init.d/avahi-daemon > @@ -13,7 +13,7 @@ test -f /etc/default/avahi-daemon && . /etc/default/avahi-daemon > > start_proc(){ > $BINARY -c && return 0 > -$BINARY -D > +$BINARY $OPTIONS > case $? in > 0) > echo " [+] (avahi-daemon)" > -- > 1.7.0.4 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de