Add heartbeat Xray remote control and v121
This commit is contained in:
1 parent
e942ccfcd9
commit
6cf3ae7c0f
100 files changed
+1631
-218
No files matched your search
@@ -15,7 +15,7 @@ $RemoteScript = @'
|
||||
set -eu
|
||||
stage=/tmp/__UPLOAD_NAME__
|
||||
target=/opt/owrt-remote/owrt-remote-hub.py
|
||||
backup=/opt/owrt-remote/owrt-remote-hub.py.bak-before-hub-design-v120
|
||||
backup=/opt/owrt-remote/owrt-remote-hub.py.bak-before-hub-design-v121
|
||||
candidate=$target.new-__UPLOAD_NAME__
|
||||
changed=0
|
||||
|
||||
@@ -130,7 +130,7 @@ if [ "$healthy" -ne 1 ]; then
|
||||
fi
|
||||
cat "$stage/health-check"
|
||||
cmp "$source_file" "$target"
|
||||
printf '\nBackup: %s\nHUB_DESIGN_V120_%s_OK\n' "$backup" '__ACTION__'
|
||||
printf '\nBackup: %s\nHUB_DESIGN_V121_%s_OK\n' "$backup" '__ACTION__'
|
||||
if [ '__ACTION__' = Install ]; then
|
||||
echo 'Refresh the Hub page and open Effects to choose the panel design.'
|
||||
echo 'This fix is LOCAL. The panel update button can replace it with the published repository build.'
|
||||
|
||||
Reference in new issue
Block a user