mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-11 14:37:51 +08:00
⛅ Sync 2026-10-07 23:59:28
This commit is contained in:
1 parent
26ea6d17f5
commit
5a632575da
108 files changed
+420
-455
No files matched your search
+3
-2
@@ -56,9 +56,10 @@ start_instance() {
|
||||
}
|
||||
key=""
|
||||
|
||||
if [ "$(uci -q get network.omrvpn)" != "" ]; then
|
||||
# a bare "uci commit" flushed every package's pending changes
|
||||
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
|
||||
|
||||
_log "starting ${PROG_NAME} ${1} instance $*"
|
||||
|
||||
Reference in new issue
Block a user