From 38fcb59ed76b125b528a96354cf429694f7300c5 Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Thu, 11 Sep 2025 13:37:49 +0500 Subject: [PATCH] fix: Reload config after commit to ensure runtime consistency --- podkop/files/usr/bin/podkop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/podkop/files/usr/bin/podkop b/podkop/files/usr/bin/podkop index d3ea319..c1b472b 100755 --- a/podkop/files/usr/bin/podkop +++ b/podkop/files/usr/bin/podkop @@ -108,7 +108,7 @@ start() { dnsmasq_add_resolver fi uci_set "podkop" "main" "shutdown_correctly" 0 - uci commit "podkop" + uci commit "podkop" && config_load "$PODKOP_CONFIG" } stop_main() { @@ -154,7 +154,7 @@ stop() { fi stop_main uci_set "podkop" "main" "shutdown_correctly" 1 - uci commit "podkop" + uci commit "podkop" && config_load "$PODKOP_CONFIG" } reload() {