mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 19:46:52 +03:00
fix: reload PODKOP_CONFIG after uci commit to refresh config on shutdown
This commit is contained in:
@@ -190,7 +190,7 @@ stop() {
|
|||||||
/etc/init.d/sing-box stop
|
/etc/init.d/sing-box stop
|
||||||
|
|
||||||
uci_set "podkop" "settings" "shutdown_correctly" 1
|
uci_set "podkop" "settings" "shutdown_correctly" 1
|
||||||
uci commit "podkop"
|
uci commit "podkop" && config_load "$PODKOP_CONFIG"
|
||||||
}
|
}
|
||||||
|
|
||||||
reload() {
|
reload() {
|
||||||
|
|||||||
Reference in New Issue
Block a user