/etc/init/ttyN.conf после загрузки livecd

Я только что создал надежный liveCD в соответствии с этими инструкциями. для разрешения пользовательского поведения TTY я изменил файлы TTY conf (/etc/init/ttyN.conf), например, я изменил tty1.conf на:

# tty1 - getty # # 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] and ( not-container or container CONTAINER=lxc or container CONTAINER=lxc-libvirt) stop on runlevel [!2345] respawn exec /sbin/custom-tty-script tty1

После загрузки liveCD мой пользовательский сценарий TTY не делает и при проверке tty1.conf я узнал, что он был переписан:

# tty1 - getty # # 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] and ( not-container or container CONTAINER=lxc or container CONTAINER=lxc-libvirt) stop on runlevel [!2345] respawn exec /bin/login -f ubuntu </dev/tty1 > /dev/tty1 2>&1

, за какой процесс отвечает за это? и как я могу заставить tty загрузить мой собственный скрипт?

0
задан 30 July 2017 в 13:36

0 ответов

Другие вопросы по тегам:

Похожие вопросы: