From 2c4b93bf045f307042b9dc3ec000775209cf37e6 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 15 Aug 2008 08:28:15 +0000 Subject: Accept tty[ud]0 for console device --- tools/tools/nanobsd/nanobsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 591965b..e5b1a00 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 -- cgit v1.1