From 5bfcb0b9b47f6c929af092865c3bc9eef9bfcd0a Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 15 Aug 2008 08:28:15 +0000 Subject: [PATCH] Accept tty[ud]0 for console device --- tools/tools/nanobsd/nanobsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 591965bd64dd..e5b1a00fbc5f 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -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