Update kaiji.sh

This commit is contained in:
NewName
2024-08-04 20:51:53 +08:00
parent 29d7176800
commit 84e7e8bcdc
+3 -3
View File
@@ -4,9 +4,9 @@ sudo hostnamectl set-hostname wovow
sudo bash -c 'echo "127.0.0.1 wovow" >> /etc/hosts' sudo bash -c 'echo "127.0.0.1 wovow" >> /etc/hosts'
echo "" > ~/.bashrc echo "" > /etc/motd
cat << 'EOF' >> ~/.bashrc cat << 'EOF' >> /etc/motd
# 自定义终端欢迎语 # 自定义终端欢迎语
if [ -n "$PS1" ]; then if [ -n "$PS1" ]; then
echo -e "\e[32m《C语言从研发到脱发》\e[0m" echo -e "\e[32m《C语言从研发到脱发》\e[0m"
@@ -41,6 +41,6 @@ else
echo "Docker Compose 已经安装,跳过安装步骤。" echo "Docker Compose 已经安装,跳过安装步骤。"
fi fi
source ~/.bashrc source /etc/motd
echo "设置完成!欢迎大佬上机!" echo "设置完成!欢迎大佬上机!"