Update mk_login.sh

This commit is contained in:
superconvert 2022-08-06 05:05:35 +08:00 committed by GitHub
parent a21cb16fe8
commit 7bbdb23e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ PS1="[\u@\h \w]\# "
export PS1 HOSTNAME
EOF
# 重新生成 inittab 文件
cat<<EOF>${diskfs}/etc/inittab
::sysinit:/bin/hostname -F /etc/hostname
::sysinit:/etc/init.d/rcS