diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2015-06-30 00:32:49 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-06-30 11:25:10 +0000 |
commit | c0bb8a5aeee6be3d78edb903268eeddafb46232c (patch) | |
tree | ca4baef03888ed8d36e641ac755dcc47803f6705 /testing/fwknop | |
parent | 4f3b691340594aaa7cb30ef55b892fcddec3933c (diff) | |
download | aports-c0bb8a5aeee6be3d78edb903268eeddafb46232c.tar.bz2 aports-c0bb8a5aeee6be3d78edb903268eeddafb46232c.tar.xz |
testing/fwknop: fix initd
This fixes a possible failure to start on boot:
pcap_open_live() error: eth0: That device is not up
Diffstat (limited to 'testing/fwknop')
-rw-r--r-- | testing/fwknop/fwknopd.initd | 5 |
1 files changed, 5 insertions, 0 deletions
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%/*} } |