X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 912ACDC0846 for ; Fri, 17 Oct 2014 13:01:58 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id w7so617082lbi.22 for ; Fri, 17 Oct 2014 06:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pxB41fir7Qn1byVdXPr//zEEGcPgIA2w/GVhCBrm1tQ=; b=pf8l9FBdWHZJrCIQ8a8si5Q5Hy6DvHi+xI2FnPt+P8WWMcRzc79EftLUMBl6jW1E3a KXj1xDEuVaU+6obKXJrMBUR29+TyOUquvYyJ3CbtAbYYfcQwpQPFcjXm3gW8CVTCLHFN T8k2dCu8Ear/PueL8HBcEGFhh7YxYjvHoXLFWoPG3trcVZPC15xXLk52LRKjjz6HZUZ8 jV3dGkMuuHUstvPM1UON/dEY+LnJx10Gj7wFN0JbPs01onm8ekKwKNl0h2fXATRWWES1 hgdnAlSUbdo6uCAONuZGdxSxin7WAZtbbayGto4p7WCNtruyh4LaUlmQH6deywo6TpJW BNOg== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.152.29.8 with SMTP id f8mr8725216lah.56.1413550916154; Fri, 17 Oct 2014 06:01:56 -0700 (PDT) Received: by 10.25.84.65 with HTTP; Fri, 17 Oct 2014 06:01:56 -0700 (PDT) Date: Fri, 17 Oct 2014 17:01:56 +0400 Message-ID: Subject: [alpine-devel] main/multipath-tools From: Sergey T To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=089e0158c1583aba6405059df823 --089e0158c1583aba6405059df823 Content-Type: text/plain; charset=UTF-8 Dear friends, It would be better to remove "()" in undo_nodes() and do_nodes() strings because /sbin/runscript actually does not call functions this way. Regards. -Sheavy --- aports/main/multipath-tools/multipath-tools.initd.orig +++ aports/main/multipath-tools/multipath-tools.initd @@ -25,13 +25,13 @@ ebegin "Starting multipathd" start-stop-daemon --start --quiet --make-pidfile \ --pidfile /var/run/multipathd.pid --exec /sbin/multipathd - do_nodes() + do_nodes eend $? } stop() { ebegin "Stopping multipathd" - undo_nodes() + undo_nodes start-stop-daemon --stop --quiet --retry --pidfile /var/run/multipathd.pid eend $? } --089e0158c1583aba6405059df823 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear friends,

It would be b= etter to remove "()" in undo_nodes() and do_nodes() strings becau= se /sbin/runscript actually=C2=A0does not=C2=A0call functions this way.

Regards.
-Sheavy

-= -- aports/main/multipath-tools/multipath-tools.initd.orig
+++ aports/mai= n/multipath-tools/multipath-tools.initd
@@ -25,13 +25,13 @@
=C2=A0=C2= =A0ebegin "Starting multipathd"
=C2=A0=C2=A0start-stop-daemon = --start --quiet --make-pidfile \
=C2=A0=C2=A0 --pidfile /var/run/multipa= thd.pid --exec /sbin/multipathd
-=C2=A0do_nodes()
+=C2=A0do_nodes
= =C2=A0=C2=A0eend $?
=C2=A0}
=C2=A0
=C2=A0stop() {
=C2=A0=C2=A0e= begin "Stopping multipathd"
-=C2=A0undo_nodes()
+=C2=A0undo= _nodes
=C2=A0=C2=A0start-stop-daemon --stop --quiet --retry --pidfile /v= ar/run/multipathd.pid
=C2=A0=C2=A0eend $?
=C2=A0}
--089e0158c1583aba6405059df823-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---