Accept tty[ud]0 for console device

This commit is contained in:
Poul-Henning Kamp 2008-08-15 08:28:15 +00:00
parent 8eccad56d9
commit 5bfcb0b9b4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181751

View File

@ -508,7 +508,7 @@ FlashDevice () {
cust_comconsole () (
# Enable getty on console
sed -i "" -e /ttyu0/s/off/on/ ${NANO_WORLDDIR}/etc/ttys
sed -i "" -e /tty[du]0/s/off/on/ ${NANO_WORLDDIR}/etc/ttys
# Disable getty on syscons devices
sed -i "" -e '/^ttyv[0-8]/s/ on/ off/' ${NANO_WORLDDIR}/etc/ttys