From c26023b4bb987d259f792f91d347f2322bd4e901 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 8 Oct 2005 21:41:13 +0000 Subject: [PATCH] If a usb keyboard is detected, start installer with a cons25 console type --- etc/rc.initial | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/rc.initial b/etc/rc.initial index 99c2285442..93a76e1284 100755 --- a/etc/rc.initial +++ b/etc/rc.initial @@ -96,8 +96,12 @@ case ${opmode} in 98) /etc/rc.initial.store_config_to_removable_device ;; -99) - /scripts/lua_installer +99) + if [ -e /dev/ukbd0 ]; then + env TERM=cons25 /scripts/lua_installer + else + /scripts/lua_installer + fi ;; 100) if grep "$WORD" "$CONFIG"