mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/fwknop: fix initd
This fixes a possible failure to start on boot: pcap_open_live() error: eth0: That device is not up
This commit is contained in:
parent
4f3b691340
commit
c0bb8a5aee
@ -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%/*}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user