From 4570c92e59b2f4c8b44475f7450a1e4e76a94dc3 Mon Sep 17 00:00:00 2001 From: xzx3344521 Date: Sun, 19 Oct 2025 18:15:34 +0800 Subject: [PATCH] Update ru --- ru | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ru b/ru index 8eb03f4..88d6960 100644 --- a/ru +++ b/ru @@ -37,12 +37,12 @@ services: " > "$file_path" sleep 1 +ip=$(ip -4 addr show scope global | grep -oP 'inet \K[\d.]+' | head -n 1) + printf "访问地址: %s:3344\n" "$ip" docker compose -p my_rustdesk_project -f /boot/脚本/ru.yaml up -d while true; do if docker ps | grep -q "my_rustdesk_project-rustdesk-1"; then - ip=$(ip -4 addr show scope global | grep -oP 'inet \K[\d.]+' | head -n 1) - printf "访问地址: %s:3344\n" "$ip" - rintf "访问地址: %s:21114\n" "$ip" + docker exec -it my_rustdesk_project-rustdesk-1 sh -c './apimain reset-admin-pwd 3459635287' echo "RustDesk管理员账号: admin"