summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/Makefile
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-07-31 11:08:47 +0000
committerjkh <jkh@FreeBSD.org>1997-07-31 11:08:47 +0000
commit0c6d177de60f3da08196544c58ec36b1e34c2e84 (patch)
treeb456c51cea6c5b05810342463733621e0d601c02 /usr.sbin/sysinstall/Makefile
parentd9570c1f69e582d758470f6f2dd312d1458a7bef (diff)
downloadFreeBSD-src-0c6d177de60f3da08196544c58ec36b1e34c2e84.zip
FreeBSD-src-0c6d177de60f3da08196544c58ec36b1e34c2e84.tar.gz
Make serial console based installs actually work by:
1. Detecting the split /dev/ttyv0 / /dev/console case, e.g. you've booted with the -h flag and you have a VGA card also. 2. Adding an extra "menu" for selecting terminal type and adding ANSI to the list of compiled-in terms. 3. Opening the proper file descriptors before disowning ourselves. Requested by: pst
Diffstat (limited to 'usr.sbin/sysinstall/Makefile')
-rw-r--r--usr.sbin/sysinstall/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile
index 06470aa..357ca6e 100644
--- a/usr.sbin/sysinstall/Makefile
+++ b/usr.sbin/sysinstall/Makefile
@@ -30,6 +30,9 @@ LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio
makedevs.c: Makefile rtermcap keymap.h
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp
+ ./rtermcap ansi | \
+ file2c 'const char termcap_ansi[] = {' ',0};' \
+ >> makedevs.tmp
./rtermcap cons25 | \
file2c 'const char termcap_cons25[] = {' ',0};' \
>> makedevs.tmp
OpenPOWER on IntegriCloud