⛅ 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

+1 -1
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mlvpn
PKG_VERSION:=2.6.5.20211028
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/zehome/MLVPN.git
+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