Mail archive
alpine-aports

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

From: Stuart Cardall <developer_at_it-offshore.co.uk>
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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Jun 30 2015 - 00:32:49 GMT