Files
tms-arch-linux-calamares-in…/archiso/airootfs/usr/bin/hostname
2025-11-25 00:09:24 +08:00

13 lines
122 B
Bash
Executable File

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