]> git.99rst.org Git - openwrt-packages.git/commit
nut: split interface_triggers function
authorDaniel F. Dickinson <redacted>
Tue, 7 Jul 2026 02:08:01 +0000 (22:08 -0400)
committerJosef Schlehofer <redacted>
Wed, 15 Jul 2026 07:34:39 +0000 (09:34 +0200)
commit4638c42055946ac424d208f6e92aadc9eb8dd884
tree9d74b91f97c4fb727cdda9814ea740bcf11e2205
parente3f051cefc5c43f97f28d32976a69622bf8cd98b
nut: split interface_triggers function

Using add_interface_triggers and check_interface_up is a
better separation of concerns and the code has little in
common (no duplication of code concerns).

While we are at it make both nut-monitor and nut-server failure of
add_interface_triggers non-fatal with a logged error message.

Signed-off-by: Daniel F. Dickinson <redacted>
net/nut/files/nut-monitor.init
net/nut/files/nut-server.init
net/nut/files/nut-service.sh.functions
git clone https://git.99rst.org/PROJECT