Fix Xray recovery after reboot with persistent boot cache
This commit is contained in:
1 parent
e738d6fa69
commit
d61c99cdbc
6 files changed
+1004
-45
No files matched your search
+2
-2
@@ -210,8 +210,8 @@ install_xray_runtime() {
|
||||
[ "${ROOT%/}" = "" ] || return 0
|
||||
remote_bin="$(target_path usr/sbin/owrt-remote)"
|
||||
[ -x "$remote_bin" ] || die "missing $remote_bin after install"
|
||||
info "Installing Xray to /tmp..."
|
||||
"$remote_bin" install-xray-tmp || die "failed to install Xray to /tmp"
|
||||
info "Preparing Xray and its persistent boot cache..."
|
||||
"$remote_bin" prepare-xray || die "failed to prepare Xray"
|
||||
}
|
||||
|
||||
# Stop the old log writer before replacing its storage code. Its bounded legacy
|
||||
|
||||
Reference in new issue
Block a user