Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- baka@baka-dell:~$ ssh root@192.168.1.61
- root@192.168.1.61's password:
- Last login: Fri Oct 24 14:18:12 2014
- [root@localhost ~]# cat /etc/init
- init/ init.d/ inittab
- [root@localhost ~]# cat /etc/init/start-ttys.conf
- #
- # This service starts the configured number of gettys.
- #
- # Do not edit this file directly. If you want to change the behaviour,
- # please create a file start-ttys.override and put your changes there.
- start on stopped rc RUNLEVEL=[2345]
- env ACTIVE_CONSOLES=/dev/tty[1]
- 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@localhost ~]# cat /etc/init/
- control-alt-delete.conf quit-plymouth.conf serial.conf
- init-system-dbus.conf rc.conf splash-manager.conf
- kexec-disable.conf rcS.conf start.conf
- plymouth-shutdown.conf rcS-emergency.conf start-ttys.conf
- prefdm.conf rcS-sulogin.conf tty.conf
- [root@localhost ~]# cat /etc/init/start.conf
- start on runlevel [345]
- stop on runlevel [!345]
- respawn
- instance /dev/tty7
- exec /sbin/mingetty tty7 19200 vt100-nav
- [root@localhost ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement