Update 02_build_img.sh

This commit is contained in:
superconvert 2022-07-28 00:08:49 +08:00 committed by GitHub
parent 4efbc9e4a5
commit 2297c26878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,6 @@ cat<<"EOF">etc/inittab
::restart:/sbin/init
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::respawn:/bin/cttyhack /bin/sh
tty1::once:echo "hello smart-os tty1"
tty1::respawn:/bin/sh
tty2::once:echo "hello smart-os tty2"
@ -193,7 +192,7 @@ cat - > ${diskfs}/boot/grub/grub.cfg << EOF
set timeout=6
menuentry "smart-os" {
root=(hd0,msdos1)
linux /boot/bzImage console=tty0 console=ttyS0
linux /boot/bzImage console=tty0
initrd /boot/initrd
}
EOF