Subject: [alpine-aports] [PATCH] testing/fwknop: fix initd

From: Stuart Cardall <[email-masked]>
Date: Tue, 30 Jun 2015 00:32:49 +0000

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:  [email-masked]
Help:         [email-masked]
---