fix hostname tms-tools

This commit is contained in:
zj
2025-11-25 17:47:16 +08:00
parent 6535c5fc79
commit 4d6e6194bf
7 changed files with 88 additions and 1740 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
# 系统信息函数
if [ $# -eq 0 ]; then
hostnamectl --static
else
command hostnamectl "$@"
fi