在shell内执行以下代码:
sed -i "s#1-6#1-2#" /etc/init/start-ttys.conf
sed -i "s#1-6#1-2#" /etc/sysconfig/init
之后重新启动即可.
It's dangerous to go alone! Take this.
在shell内执行以下代码:
sed -i "s#1-6#1-2#" /etc/init/start-ttys.conf
sed -i "s#1-6#1-2#" /etc/sysconfig/init
之后重新启动即可.