Update kaiji.sh

This commit is contained in:
NewName
2024-08-04 22:23:38 +08:00
parent 96ddc3e827
commit 593565de65

View File

@@ -1,11 +1,11 @@
#!/bin/bash
sudo hostnamectl set-hostname wovow
sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
sudo bash -c 'echo "127.0.0.1 wovow" >> /etc/hosts'
sudo hostnamectl set-hostname wovow
# 清空 /etc/motd 文件并设置内容
cat << 'EOF' > /etc/motd
《C语言从研发到脱发》