The tty ANSI code for the welcome message is set to 0 (disabled) because VirtualBox seems to execute 'respawn' tasks along with 'once' tasks (concurrency issue). However, in QEMU this feature works perfectly fine.

This commit is contained in:
Ivan Davidov 2016-05-11 00:17:18 +03:00
parent 0c8b4e3502
commit 19c54e2411

View File

@ -7,7 +7,7 @@
::shutdown:echo -e "\n\\e[32mSee you soon! :)\\e[0m\n" ::shutdown:echo -e "\n\\e[32mSee you soon! :)\\e[0m\n"
::shutdown:sleep 1 ::shutdown:sleep 1
::ctrlaltdel:/sbin/reboot ::ctrlaltdel:/sbin/reboot
::once:/etc/welcome.sh 32 ::once:/etc/welcome.sh 0
::respawn:/bin/cttyhack /bin/sh ::respawn:/bin/cttyhack /bin/sh
tty2::once:cat /etc/welcome.txt tty2::once:cat /etc/welcome.txt
tty2::respawn:/bin/sh tty2::respawn:/bin/sh