mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] Init script was ignoring OPTIONS variable
Date: Mon, 16 Feb 2015 10:43:34 +0100	[thread overview]
Message-ID: <20150216094334.GE7021@pengutronix.de> (raw)
In-Reply-To: <1423572613-27623-1-git-send-email-guille.rodriguez@gmail.com>

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

      reply	other threads:[~2015-02-16  9:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 12:50 Guillermo Rodriguez
2015-02-16  9:43 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150216094334.GE7021@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox