This commit is contained in:
zj
2025-11-25 00:09:24 +08:00
parent 7f20d846d0
commit 6535c5fc79
16 changed files with 120 additions and 420 deletions

View File

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