mirror of
https://github.com/superconvert/smart-os.git
synced 2024-11-22 18:20:30 +08:00
Update 02_build_img.sh
This commit is contained in:
parent
4efbc9e4a5
commit
2297c26878
@ -151,7 +151,6 @@ cat<<"EOF">etc/inittab
|
|||||||
::restart:/sbin/init
|
::restart:/sbin/init
|
||||||
::ctrlaltdel:/sbin/reboot
|
::ctrlaltdel:/sbin/reboot
|
||||||
::shutdown:/bin/umount -a -r
|
::shutdown:/bin/umount -a -r
|
||||||
::respawn:/bin/cttyhack /bin/sh
|
|
||||||
tty1::once:echo "hello smart-os tty1"
|
tty1::once:echo "hello smart-os tty1"
|
||||||
tty1::respawn:/bin/sh
|
tty1::respawn:/bin/sh
|
||||||
tty2::once:echo "hello smart-os tty2"
|
tty2::once:echo "hello smart-os tty2"
|
||||||
@ -193,7 +192,7 @@ cat - > ${diskfs}/boot/grub/grub.cfg << EOF
|
|||||||
set timeout=6
|
set timeout=6
|
||||||
menuentry "smart-os" {
|
menuentry "smart-os" {
|
||||||
root=(hd0,msdos1)
|
root=(hd0,msdos1)
|
||||||
linux /boot/bzImage console=tty0 console=ttyS0
|
linux /boot/bzImage console=tty0
|
||||||
initrd /boot/initrd
|
initrd /boot/initrd
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user