⛅ 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
@@ -47,9 +47,12 @@ start() {
host="$(uci -q get mlvpn.general.host)"
firstport="$(uci -q get mlvpn.general.firstport)"
if [ "$(uci -q get network.omrvpn)" != "${interface_name}" ]; 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)" != "${interface_name}" ]; then
uci -q set network.omrvpn.device=${interface_name}
uci -q commit
uci -q commit network
fi
cat > /tmp/etc/${interface_name}.conf <<-EOF