mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-17 05:53:03 +08:00
🛸 Sync 2026-10-20 02:16:58
This commit is contained in:
1 parent
64729a26c6
commit
590565b35a
25 files changed
+887
-408
No files matched your search
+2
-1
@@ -56,7 +56,8 @@ start_instance() {
|
||||
}
|
||||
|
||||
[ "${enable}" = "1" ] || return 1
|
||||
[ "${proto}" = "tcp" ] || return 1
|
||||
# unset means tcp: instances added from LuCI before it wrote proto have none
|
||||
[ "${proto:-tcp}" = "tcp" ] || return 1
|
||||
[ -n "${key}" ] || {
|
||||
_err "Key empty"
|
||||
return 1
|
||||
|
||||
Reference in new issue
Block a user