packages/net/mwan3/files/etc
Aaron Goodman 59d12598b5 mwan3: use procd for locking everywhere
Replace locks on /var/run/mwan3.lock with locks via procd.

This fixes a deadlock issue where mwan3 stop would have a procd
lock, but a hotplug script would have the /var/run/mwan3.lock

Locking can be removed from mwan3rtmon since:
1) procd will have sent the KILL signal to the process during
shutdown, so it will not add routes to already removed interfaces on
mwan3 shutdown and
2) mwan3rtmon checks if an interface is active based on the
mwan3_iface_in_<IFACE> entry in iptables, and the hotplug script
always adds this before creating the route table and removes it
before deleting the route table

Fixes github issue #13704
(https://github.com/openwrt/packages/issues/13704)
2020-11-06 10:40:57 +01:00
..
config mwan3: Simplify default configuration, mostly use defaults 2020-10-16 09:55:40 -04:00
hotplug.d/iface mwan3: use procd for locking everywhere 2020-11-06 10:40:57 +01:00
init.d mwan3: use procd for locking everywhere 2020-11-06 10:40:57 +01:00
uci-defaults mwan3: add migration script for flush_conntrack config 2019-07-04 12:03:23 +02:00
mwan3.user net/mwan3: update hint in mwan3.user for connected/disconnected 2018-03-16 14:45:29 +01:00