hi
why are tty3-tty6 started after this config change?
i would like to have only tty1 finally becasue on a virtual machine there is no need for the other processes since CTRL+ALT+Fx is caught by the own system and remote console mostly not needed at all
[root@centos ~]# cat /etc/init/start-ttys.conf # # This service starts the configured number of gettys.
start on stopped rc RUNLEVEL=[2345]
env ACTIVE_CONSOLES=/dev/tty[1-2] env X_TTY=/dev/tty1 task script . /etc/sysconfig/init for tty in $(echo $ACTIVE_CONSOLES) ; do [ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue initctl start tty TTY=$tty done end script
[root@centos ~]# ps aux | grep tty root 1626 0.0 0.0 4044 540 tty1 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty1 root 1628 0.0 0.0 4044 544 tty2 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty2 root 1630 0.0 0.0 4044 544 tty3 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty3 root 1632 0.0 0.0 4044 540 tty4 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty4 root 1634 0.0 0.0 4044 544 tty5 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty5 root 1636 0.0 0.0 4044 540 tty6 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty6