mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-05 01:44:16 +08:00
🍕 Sync 2026-10-13 13:11:55
This commit is contained in:
1 parent
de5c7f129c
commit
315fd3c2ee
38 files changed
+1245
-1717
No files matched your search
@@ -850,13 +850,17 @@ case "$1" in
|
||||
remote_moon_apply) set -- moon-apply "$_sect" "$_cf" ;;
|
||||
esac
|
||||
|
||||
if [ ! -x /usr/bin/zerotier-remote.sh ]; then
|
||||
json_init
|
||||
json_add_int "code" 1
|
||||
if [ ! -x /usr/bin/zerotier-remote.sh ]; then
|
||||
json_init
|
||||
json_add_int "code" 1
|
||||
if [ -f /usr/bin/zerotier-remote.sh ]; then
|
||||
json_add_string "error" "zerotier-remote.sh is not executable (installed 0644; it must be 0755)"
|
||||
else
|
||||
json_add_string "error" "zerotier-remote.sh is missing"
|
||||
json_dump
|
||||
return
|
||||
fi
|
||||
json_dump
|
||||
return
|
||||
fi
|
||||
|
||||
# "$@" not $_args: the body is free-form JSON from the browser,
|
||||
# and a member or network name may contain spaces. Building a
|
||||
|
||||
Reference in new issue
Block a user