Fix output address port in RustDesk script
This commit is contained in:
2
ru
2
ru
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user