X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 71304DC0C5A for ; Tue, 30 Jun 2015 00:33:04 +0000 (UTC) Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 32914DC03D5 for ; Tue, 30 Jun 2015 00:33:03 +0000 (UTC) Received: from [81.4.121.188] (port=53574 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1Z9jTx-004E1V-15; Tue, 30 Jun 2015 01:33:01 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH] testing/fwknop: fix initd Date: Tue, 30 Jun 2015 00:32:49 +0000 Message-Id: <1435624369-327-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.4.4 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This fixes a possible failure to start on boot: pcap_open_live() error: eth0: That device is not up --- testing/fwknop/fwknopd.initd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testing/fwknop/fwknopd.initd b/testing/fwknop/fwknopd.initd index 0dfb976..62494d3 100644 --- a/testing/fwknop/fwknopd.initd +++ b/testing/fwknop/fwknopd.initd @@ -4,6 +4,11 @@ pidfile="/var/run/fwknop/fwknopd.pid" command=/usr/sbin/fwknopd command_args="--pid-file $pidfile $fwknopd_args" +depend() { + use logger + after net +} + start_pre() { checkpath --directory ${pidfile%/*} } -- 2.4.4 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---