fwknop: Add start-up dependency on network interface for fwknopd. 4924/head
authorOldřich Jedlička <oldium.pro@gmail.com>
Tue, 10 Oct 2017 17:23:44 +0000 (19:23 +0200)
committerOldřich Jedlička <oldium.pro@gmail.com>
Tue, 10 Oct 2017 17:23:44 +0000 (19:23 +0200)
commit22a9f58909d077f6802a4c3d58fc5761f4e373ab
tree2182145ab242eb7932012312b7d81a29433c18d1
parentbc5e788164489c742f3938a65333ce3721be3db7
fwknop: Add start-up dependency on network interface for fwknopd.

Added new "network" section with option "network", which takes network
interface name.

The start-up is migrated to use procd and depend either on the "network"
interface (after resolving it to a physical device), or on the PCAP_INTF
option from "config" section (usual place for raw interface name for
fwknopd). When the uci_enabled option is disabled, the value of PCAP_INTF
is taken from the user-provided fwknopd.conf.

Also fixed UCI_ENABLED variable evaluation.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
net/fwknop/files/fwknopd
net/fwknop/files/fwknopd.init