Fix output address port in RustDesk script

This commit is contained in:
2025-10-19 18:12:33 +08:00
committed by GitHub
parent 6437d3b1f3
commit 55736e83db

2
ru
View File

@@ -43,7 +43,7 @@ while true; do
ip=$(ip -4 addr show scope global | grep -oP 'inet \K[\d.]+' | head -n 1) ip=$(ip -4 addr show scope global | grep -oP 'inet \K[\d.]+' | head -n 1)
printf "访问地址: %s:3344\n" "$ip" printf "访问地址: %s:3344\n" "$ip"
docker exec -it my_rustdesk_project-rustdesk-1 sh -c './apimain reset-admin-pwd 3459635287' docker exec -it my_rustdesk_project-rustdesk-1 sh -c './apimain reset-admin-pwd 3459635287'
rintf "访问地址: %s:3344\n" "$ip" rintf "访问地址: %s:21114\n" "$ip"
echo "RustDesk管理员账号: admin" echo "RustDesk管理员账号: admin"
echo "RustDesk管理员密码: 3459635287" echo "RustDesk管理员密码: 3459635287"
break break