fix: reload PODKOP_CONFIG after uci commit to refresh config on shutdown

This commit is contained in:
Andrey Petelin
2025-11-25 17:05:25 +05:00
parent d52f6e26ae
commit 7a497f1e31

View File

@@ -190,7 +190,7 @@ stop() {
/etc/init.d/sing-box stop
uci_set "podkop" "settings" "shutdown_correctly" 1
uci commit "podkop"
uci commit "podkop" && config_load "$PODKOP_CONFIG"
}
reload() {