diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2012-02-07 10:59:19 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2012-02-07 10:59:19 +0000 |
commit | c991a64747490134c7582d46fdb43894f3d6eac0 (patch) | |
tree | 82a017965673c422cb928ab1ca84a37aa16388de /release/rc.local | |
parent | 36fc415d5d9f377dd8229f2ae4ec4509803b0ccb (diff) | |
download | src-test2-c991a64747490134c7582d46fdb43894f3d6eac0.tar.gz src-test2-c991a64747490134c7582d46fdb43894f3d6eac0.zip |
Notes
Diffstat (limited to 'release/rc.local')
-rwxr-xr-x | release/rc.local | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/release/rc.local b/release/rc.local index 03e3ea716b2a..b1f9b19c2253 100755 --- a/release/rc.local +++ b/release/rc.local @@ -8,10 +8,16 @@ : ${DIALOG_ITEM_HELP=4} : ${DIALOG_ESC=255} +MACHINE=`uname -m` + kbdcontrol -d >/dev/null 2>&1 if [ $? -eq 0 ]; then # Syscons: use xterm, start interesting things on other VTYs - TERM=xterm + if [ ${MACHINE} = "pc98" ]; then + TERM=cons25w + else + TERM=xterm + fi if [ -z "$EXTERNAL_VTY_STARTED" ]; then # Init will clean these processes up if/when the system @@ -31,6 +37,7 @@ else echo " ansi Standard ANSI terminal" echo " vt100 VT100 or compatible terminal" echo " xterm xterm terminal emulator (or compatible)" + echo " cons25w cons25w terminal" echo echo -n "Console type [vt100]: " read TERM |