From c0bb8a5aeee6be3d78edb903268eeddafb46232c Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Tue, 30 Jun 2015 00:32:49 +0000 Subject: testing/fwknop: fix initd 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 0dfb976535..62494d3e41 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%/*} } -- cgit v1.2.3