diff --git a/common.sh b/common.sh index 73234ff..77678f7 100755 --- a/common.sh +++ b/common.sh @@ -22,7 +22,7 @@ core_num=`nproc` with_gcc=false # 是否开启 xorg -with_xorg=true +with_xorg=false # 是否挂载第二块硬盘 with_sdb=false 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