fix SOS
This commit is contained in:
12
archiso/airootfs/usr/bin/hostname
Executable file
12
archiso/airootfs/usr/bin/hostname
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 系统信息函数
|
||||
if [ $# -eq 0 ]; then
|
||||
hostnamectl --static
|
||||
else
|
||||
command hostnamectl "$@"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user