amd64 doesn't have 'BOOTMODEL', so set TERM to wsvt25 (not pc3) so that
the line drawing chars are available. Remove the 9600 from the stty line (done to i386 a while ago)
This commit is contained in:
parent
c4362dc746
commit
b731f371c5
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:27 salo Exp $
|
||||
# $NetBSD: dot.profile,v 1.3 2005/02/19 11:45:42 dsl Exp $
|
||||
#
|
||||
# Copyright (c) 1997 Perry E. Metzger
|
||||
# Copyright (c) 1994 Christopher G. Demetriou
|
||||
|
@ -35,19 +35,13 @@
|
|||
|
||||
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
|
||||
export PATH
|
||||
TERM=pc3
|
||||
TERM=wsvt25
|
||||
HOME=/
|
||||
export HOME
|
||||
BLOCKSIZE=1k
|
||||
export BLOCKSIZE
|
||||
EDITOR=ed
|
||||
export EDITOR
|
||||
BOOTMODEL=@BOOTMODEL@
|
||||
export BOOTMODEL
|
||||
|
||||
if [ "${BOOTMODEL}" = "big" ]; then
|
||||
TERM=wsvt25
|
||||
fi
|
||||
export TERM
|
||||
|
||||
umask 022
|
||||
|
@ -60,7 +54,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
|
|||
|
||||
# set up some sane defaults
|
||||
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
|
||||
stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
|
||||
stty newcrt werase ^W intr ^C kill ^U erase ^?
|
||||
echo ''
|
||||
|
||||
# mount the ramdisk read write
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: list.ramdisk,v 1.4 2005/01/17 21:36:08 fvdl Exp $
|
||||
# $NetBSD: list.ramdisk,v 1.5 2005/02/19 11:45:42 dsl Exp $
|
||||
|
||||
SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin
|
||||
|
||||
|
@ -27,5 +27,4 @@ COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel
|
|||
COPY ${CURDIR}/../common/termcap.mini usr/share/misc/termcap
|
||||
|
||||
# and the boot script
|
||||
CMD sed -e "s/@BOOTMODEL@/${BOOTMODEL}/" < ${CURDIR}/../common/dot.profile > .profile
|
||||
MTREE ./.profile type=file uname=root gname=wheel mode=0444
|
||||
COPY ${CURDIR}/../common/dot.profile .profile
|
||||
|
|
Loading…
Reference in New Issue