Centos 5 編輯 /etc/inittab 加入以下內容
1:2345:respawn:/sbin/agetty tty1 38400 linux
Centos 6 編輯 /etc/init/tty.conf 內容如下
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/agetty -8 tty1 38400
沒有留言:
張貼留言