1 |
vi /etc/init/start-ttys.conf |
找到tty[1-6]改成tty[1-2]
1 |
vi /etc/sysconfig/init |
找到ACTIVE_CONSOLES=/dev/tty[1-6]
改成ACTIVE_CONSOLES=/dev/tty[1-2]
重启后即可
1 |
vi /etc/init/start-ttys.conf |
找到tty[1-6]改成tty[1-2]
1 |
vi /etc/sysconfig/init |
找到ACTIVE_CONSOLES=/dev/tty[1-6]
改成ACTIVE_CONSOLES=/dev/tty[1-2]