head	1.4;
access;
symbols
	RELENG_4_11_0_RELEASE:1.2.2.1
	RELENG_4_11:1.2.2.1.0.12
	RELENG_4_11_BP:1.2.2.1
	RELENG_4_10_0_RELEASE:1.2.2.1
	RELENG_4_10:1.2.2.1.0.10
	RELENG_4_10_BP:1.2.2.1
	RELENG_5_2_1_RELEASE:1.3
	RELENG_5_2_0_RELEASE:1.3
	RELENG_5_2:1.3.0.6
	RELENG_5_2_BP:1.3
	RELENG_4_9_0_RELEASE:1.2.2.1
	RELENG_4_9:1.2.2.1.0.8
	RELENG_4_9_BP:1.2.2.1
	RELENG_5_1_0_RELEASE:1.3
	RELENG_5_1:1.3.0.4
	RELENG_5_1_BP:1.3
	RELENG_4_8_0_RELEASE:1.2.2.1
	RELENG_4_8:1.2.2.1.0.6
	RELENG_4_8_BP:1.2.2.1
	RELENG_5_0_0_RELEASE:1.3
	RELENG_5_0:1.3.0.2
	RELENG_5_0_BP:1.3
	RELENG_4_7_0_RELEASE:1.2.2.1
	RELENG_4_7:1.2.2.1.0.4
	RELENG_4_7_BP:1.2.2.1
	RELENG_4_6_2_RELEASE:1.2.2.1
	RELENG_4_6_1_RELEASE:1.2.2.1
	RELENG_4_6_0_RELEASE:1.2.2.1
	RELENG_4_6:1.2.2.1.0.2
	RELENG_4_6_BP:1.2.2.1
	RELENG_4_5_0_RELEASE:1.2
	RELENG_4_5:1.2.0.8
	RELENG_4_5_BP:1.2
	RELENG_4_4_0_RELEASE:1.2
	RELENG_4_4:1.2.0.6
	RELENG_4_4_BP:1.2
	RELENG_4_3_0_RELEASE:1.2
	RELENG_4_3:1.2.0.4
	RELENG_4_3_BP:1.2
	RELENG_4_2_0_RELEASE:1.2
	RELENG_4_1_1_RELEASE:1.2
	PRE_SMPNG:1.3
	RELENG_4_1_0_RELEASE:1.2
	RELENG_3_5_0_RELEASE:1.1.2.2
	RELENG_4_0_0_RELEASE:1.2
	RELENG_4:1.2.0.2
	RELENG_4_BP:1.2
	RELENG_3_4_0_RELEASE:1.1.2.2
	RELENG_3_3_0_RELEASE:1.1.2.2
	RELENG_3:1.1.0.2;
locks; strict;
comment	@# @;


1.4
date	2004.03.24.07.55.08;	author luigi;	state dead;
branches;
next	1.3;

1.3
date	2000.04.25.18.59.57;	author dwhite;	state Exp;
branches;
next	1.2;

1.2
date	99.08.28.01.33.17;	author peter;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	99.08.23.10.13.06;	author luigi;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	99.08.23.13.37.00;	author luigi;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.08.29.15.52.31;	author peter;	state Exp;
branches;
next	;

1.2.2.1
date	2002.03.08.13.25.38;	author luigi;	state dead;
branches;
next	;


desc
@@


1.4
log
@remove floppy image type
@
text
@#!/bin/sh
# $FreeBSD: src/release/picobsd/dial/floppy.tree/etc/rc,v 1.3 2000/04/25 18:59:57 dwhite Exp $
############################################
### Special setup for one floppy PICOBSD ###
### THIS IS NOT THE NORMAL /etc/rc !!!!! ###
############################################
mount -a -t nonfs
if [ -f /etc/rc.conf ]; then
    . /etc/rc.conf
fi
# start up the initial network configuration.
if [ -f /etc/rc.network ]; then
	. /etc/rc.network
	network_pass1
fi
# clean up left-over files
if [ -n "$network_pass1_done" ]; then
    network_pass2
fi
if [ -n "$network_pass2_done" ]; then
    network_pass3
fi

# stdin must be redirected because it might be for a serial console
kbddev=/dev/ttyv0
viddev=/dev/ttyv0

echo -n "Configuring console:"

# keymap
if [ "X${keymap}" != X"NO" ]; then
	echo -n '  keymap';	kbdcontrol < ${kbddev} -l /usr/share/syscons/${keymap}
fi

# keyrate
if [ "X${keyrate}" != X"NO" ]; then
	echo -n ' keyrate';	kbdcontrol < ${kbddev} -r ${keyrate}
fi

# keybell
if [ "X${keybell}" != X"NO" ]; then
	echo -n ' keybell';	kbdcontrol < ${kbddev} -b ${keybell}
fi

# change function keys
if [ "X${keychange}" != X"NO" ]; then
	echo -n " keychange"
	set - ${keychange}
	while [ $# -gt 0 ]
	do
		kbdcontrol < ${kbddev} -f "$1" "$2"
		shift; shift
	done
fi

# cursor type
if [ "X${cursor}" != X"NO" ]; then
	echo -n '  cursor';	vidcontrol < ${viddev} -c ${cursor}
fi

# font 8x16
if [ "X${font8x16}" != X"NO" ]; then
	echo -n ' font8x16';	vidcontrol < ${viddev} -f 8x16 /usr/share/syscons/${font8x16}
fi

# font 8x14
if [ "X${font8x14}" != X"NO" ]; then
	echo -n ' font8x14';	vidcontrol < ${viddev} -f 8x14 /usr/share/syscons/${font8x14}
fi

# font 8x8
if [ "X${font8x8}" != X"NO" ]; then
	echo -n ' font8x8';	vidcontrol < ${viddev} -f 8x8 /usr/share/syscons/${font8x8}
fi

# blank time
if [ "X${blanktime}" != X"NO" ]; then
	echo -n ' blanktime';	vidcontrol < ${viddev} -t ${blanktime}
fi

# mouse daemon
if [ "X${moused_enable}" = X"YES" ] ; then
	echo -n ' moused'
	moused ${moused_flags} -p ${moused_port} -t ${moused_type}
	vidcontrol <${viddev} -m on
fi

echo ''
echo ''
echo ''
echo '+---------- PicoBSD @@VER@@ (DIALUP) -------------+'
echo '|                                              |'
echo '| Log in as "root" (no password).              |'
echo '|                                              |'
echo '| This version of PicoBSD is fully under       |'
echo '| BSD license (except for SSH). For more       |'
echo '| details see http://www.freebsd.org/~picobsd, |'
echo '| or contact the author.                       |'
echo '|                                              |'
echo '|                     abial@@freebsd.org        |'
echo '|                                              |'
echo '+----------------------------------------------+'
@


1.3
log
@Commit PicoBSD mega-patch:
. Bring PicoBSD up to date with -CURRENT reality.
. Make PicoBSD smart and not spam /dev/vn0 and /mnt.  Now it uses the first
  unused vn device and creates a temporary mountpoint in /tmp.
. Miscellaneous build cleanups and optimizations.

Unfortunately the bridge, isp, and router floppies are too big and need
the axe treatment.  The install floppy needs updating to -CURRENT. Dial and
net build and (appear to) run OK.  I will be adressing these in the
near future (unless someone beats me to it :-) ).

PR:		misc/17737
Submitted by:	Omachonu Ogali <oogali@@intranova.net>
@
text
@d2 1
a2 1
# $FreeBSD: src/release/picobsd/dial/floppy.tree/etc/rc,v 1.2 1999/08/28 01:33:17 peter Exp $
@


1.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
a102 1
exit 0
@


1.2.2.1
log
@Unbreak this configuration, by fixing kernel config, updating crunch.conf,
removing useless files.
(not done on -current because the configs are different there).
@
text
@d2 1
a2 1
# $FreeBSD: src/release/picobsd/dial/floppy.tree/etc/rc,v 1.2 1999/08/28 01:33:17 peter Exp $
@


1.1
log
@Add missing files probably forgotten in previous commit
@
text
@d2 1
a2 1
# $Id: rc.en,v 1.4 1999/08/22 21:43:02 dwhite dead $
@


1.1.2.1
log
@Add files forgotten in previous commits.
@
text
@d2 1
a2 1
# $Id: rc.en,v 1.3 1998/11/01 20:19:11 abial Exp $
@


1.1.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


