⛅ Sync 2026-10-07 23:59:28

This commit is contained in:
github-actions[bot] committed 2026-10-07 23:59:28 +08:00
1 parent 26ea6d17f5
commit 5a632575da
108 files changed
+420 -455

No files matched your search

+5 -2
View File
@@ -75,9 +75,12 @@ start_instance() {
}
key=""
if [ "$(uci -q get network.omrvpn)" != "" ] && [ "$(uci -q get network.omrvpn)" != "$dev" ]; then
# "uci get network.omrvpn" is the section type, never the device: this
# ran on every start, and a bare "uci commit" flushed every package's
# pending changes, not only this one
if [ -n "$(uci -q get network.omrvpn)" ] && [ "$(uci -q get network.omrvpn.device)" != "$dev" ]; then
uci -q set network.omrvpn.device=$dev
uci -q commit
uci -q commit network
fi
ip addr flush $dev