Files
packages/utils
Daniel F. Dickinson dfb74c299a watchcat: use logical network to fix restart_interface
Watchcat was failing to restart layer-3 interfaces when in mode
'restart_iface'. The previously attempted fix made the situation
worse in that it resulted in layer 2 interfaces also failing to
start.

This was because we are passed the interface name (e.g. eth0,
l2p0, or br-lan), but ifup needs the logical network (e.g. 'lan'
which corresponds to the network device).

Update to use find_config from /lib/network/config.sh to find the
logical network from the interface name, and use ifup on the
logical network to restart the underlying interface(s) associated
with the logical network.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit c3a85b96de)
2026-04-16 19:22:15 +03:00
..
…
…
…
2026-01-19 21:09:19 +02:00
2026-03-15 12:25:21 +02:00
…
2026-02-16 20:58:11 +02:00
2026-02-21 12:11:07 +02:00
…
2025-11-23 18:28:36 -07:00
…
…
…
…
2026-04-02 09:35:33 +08:00
…
2025-12-18 16:39:04 +01:00
…
…
…
…
…
…
2025-12-25 16:26:11 +02:00
…
…
…
2026-02-05 13:07:08 -08:00
…
…
…
2025-12-07 20:06:00 +01:00
…
…
…
…
…
2025-11-23 09:53:01 +01:00
…
…
…
2025-11-17 20:41:51 +02:00
2026-04-10 19:36:56 +03:00
…
…
…
2026-04-13 08:28:50 +03:00
…
2025-12-04 17:23:42 +01:00
2025-12-05 22:55:24 +01:00
…
…
…
…
2026-03-11 20:34:52 +02:00
…
…
2026-04-01 20:56:38 +03:00
…
…
2025-12-05 23:00:29 +01:00
2025-12-29 12:46:50 +01:00
…
…
…
2026-02-18 10:16:46 +02:00
…
…
…
2026-04-02 09:37:07 +08:00
…
…
2026-03-15 12:25:21 +02:00