From 7bbdb23e2eaf58dafaa21044c26981d7845af080 Mon Sep 17 00:00:00 2001 From: superconvert <48017165+superconvert@users.noreply.github.com> Date: Sat, 6 Aug 2022 05:05:35 +0800 Subject: [PATCH] Update mk_login.sh --- mk_login.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/mk_login.sh b/mk_login.sh index 058f745..1db3ac4 100755 --- a/mk_login.sh +++ b/mk_login.sh @@ -29,6 +29,7 @@ PS1="[\u@\h \w]\# " export PS1 HOSTNAME EOF +# 重新生成 inittab 文件 cat<${diskfs}/etc/inittab ::sysinit:/bin/hostname -F /etc/hostname ::sysinit:/etc/init.d/rcS