head	1.3;
access;
symbols
	RELENG_6_4_0_RELEASE:1.2.4.1
	RELENG_6_4:1.2.4.1.0.10
	RELENG_6_4_BP:1.2.4.1
	RELENG_6_3_0_RELEASE:1.2.4.1
	RELENG_6_3:1.2.4.1.0.8
	RELENG_6_3_BP:1.2.4.1
	RELENG_6_2_0_RELEASE:1.2.4.1
	RELENG_6_2:1.2.4.1.0.6
	RELENG_6_2_BP:1.2.4.1
	RELENG_5_5_0_RELEASE:1.2.2.1
	RELENG_5_5:1.2.2.1.0.4
	RELENG_5_5_BP:1.2.2.1
	RELENG_6_1_0_RELEASE:1.2.4.1
	RELENG_6_1:1.2.4.1.0.4
	RELENG_6_1_BP:1.2.4.1
	RELENG_6_0_0_RELEASE:1.2.4.1
	RELENG_6_0:1.2.4.1.0.2
	RELENG_6_0_BP:1.2.4.1
	RELENG_6:1.2.0.4
	RELENG_6_BP:1.2
	RELENG_5_4_0_RELEASE:1.2.2.1
	RELENG_5_4:1.2.2.1.0.2
	RELENG_5_4_BP:1.2.2.1
	RELENG_5:1.2.0.2;
locks; strict;
comment	@# @;


1.3
date	2005.09.26.14.57.27;	author phk;	state dead;
branches;
next	1.2;

1.2
date	2004.12.18.16.31.21;	author phk;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2004.11.28.17.10.44;	author phk;	state Exp;
branches;
next	;

1.2.2.1
date	2005.02.28.10.01.45;	author phk;	state Exp;
branches;
next	;

1.2.4.1
date	2005.09.26.15.00.48;	author phk;	state dead;
branches;
next	;


desc
@@


1.3
log
@Remove the old Makefile based nanobsd build method, the new shell script
based is far better and the only one supported from now on.
@
text
@#! /bin/sh
#
# Customize a nanoBSD flash image for serial console
#
# Copyright (c) 2004 Poul-Henning Kamp
#
# See /usr/share/examples/etc/bsd-style-copyright for license terms.
#
# $FreeBSD: src/tools/tools/nanobsd/Customize/comconsole,v 1.2 2004/12/18 16:31:21 phk Exp $
# 
# Usage:
#
# ${CUSTOMIZE} ${WD} ${WORLDDIR} ${.CURDIR} [ ${LOCAL_FILES_LIST} ]

WD=$1
WORLDDIR=$2
CURDIR=$3
LOCAL_FILES_LIST=$4

PKG_DBDIR=${WD}/var/db/pkg
export PKG_DBDIR

# Enable getty on console
sed -i "" -e /ttyd0/s/off/on/ ${WD}/etc/ttys

# Disable getty on syscons devices
sed -i "" -e '/^ttyv[0-8]/s/	on/	off/' ${WD}/etc/ttys

# Tell loader to use serial console early.
echo " -h" > ${WD}/boot.config
@


1.2
log
@Change terminal state, not terminal type
@
text
@d9 1
a9 1
# $FreeBSD$
@


1.2.4.1
log
@MFC:
	nanobsd conversion to shell script.

Approved by:	re@@ (scottl)
@
text
@d9 1
a9 1
# $FreeBSD: src/tools/tools/nanobsd/Customize/comconsole,v 1.2 2004/12/18 16:31:21 phk Exp $
@


1.2.2.1
log
@MFC:
	Bring nanobsd in like with the stuff in -current.
@
text
@@


1.1
log
@Add various customize scripts.
@
text
@d27 1
a27 1
sed -i "" -e '/ttyv[0-8]/s/on/off/' ${WD}/etc/ttys
@

