openwrt / netifd

[MIRROR] OpenWrt Network interface configuration daemon
https://git.openwrt.org/?p=project/netifd.git;
17 stars 19 forks source link

netifd: protocol script can't normally start more than one demon process #21

Open one-d-wide opened 8 months ago

one-d-wide commented 8 months ago

Description

I was writing protocol script for netifd and had a trouble managing two daemon processes for the same interface. When multiple proc_run_command functions are invoked, each one terminates previously spawned process and starts new one.

Example

Use case can be found there along with a nasty workaround.