head	1.3;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.4.1
	RELENG_4_11:1.1.4.1.0.18
	RELENG_4_11_BP:1.1.4.1
	RELENG_4_10_0_RELEASE:1.1.4.1
	RELENG_4_10:1.1.4.1.0.16
	RELENG_4_10_BP:1.1.4.1
	RELENG_4_9_0_RELEASE:1.1.4.1
	RELENG_4_9:1.1.4.1.0.14
	RELENG_4_9_BP:1.1.4.1
	RELENG_4_8_0_RELEASE:1.1.4.1
	RELENG_4_8:1.1.4.1.0.12
	RELENG_4_8_BP:1.1.4.1
	RELENG_4_7_0_RELEASE:1.1.4.1
	RELENG_4_7:1.1.4.1.0.10
	RELENG_4_7_BP:1.1.4.1
	RELENG_4_6_2_RELEASE:1.1.4.1
	RELENG_4_6_1_RELEASE:1.1.4.1
	RELENG_4_6_0_RELEASE:1.1.4.1
	RELENG_4_6:1.1.4.1.0.8
	RELENG_4_6_BP:1.1.4.1
	RELENG_4_5_0_RELEASE:1.1.4.1
	RELENG_4_5:1.1.4.1.0.6
	RELENG_4_5_BP:1.1.4.1
	RELENG_4_4_0_RELEASE:1.1.4.1
	RELENG_4_4:1.1.4.1.0.4
	RELENG_4_4_BP:1.1.4.1
	RELENG_4_3_0_RELEASE:1.1.4.1
	RELENG_4_3:1.1.4.1.0.2
	RELENG_4_3_BP:1.1.4.1
	RELENG_4_2_0_RELEASE:1.1
	RELENG_4_1_1_RELEASE:1.1
	PRE_SMPNG:1.2
	RELENG_4_1_0_RELEASE:1.1
	RELENG_3_5_0_RELEASE:1.1.2.2
	RELENG_4_0_0_RELEASE:1.1
	RELENG_4:1.1.0.4
	RELENG_4_BP:1.1
	RELENG_3:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2001.04.24.07.46.34;	author joe;	state dead;
branches;
next	1.2;

1.2
date	2000.04.25.18.59.59;	author dwhite;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.08.14.20.54;	author luigi;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

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

1.1.2.2
date	2000.05.31.12.55.44;	author luigi;	state dead;
branches;
next	;

1.1.4.1
date	2000.11.30.22.59.17;	author luigi;	state dead;
branches;
next	;


desc
@@


1.3
log
@MF4S: Syncronise with Luigi's work in -stable.
@
text
@#!/bin/sh
# $FreeBSD: src/release/picobsd/floppy.tree/etc/update,v 1.2 2000/04/25 18:59:59 dwhite Exp $
pwd=`pwd`
set `df /` ; dev="$8"
echo -n "Updating /etc contents on ${dev}... "
mount ${dev} /start_floppy
if [ "X$?" != "X0" ] ; then
	echo ""
	echo "Cannot mount ${dev} read-write!"
	exit 1
fi
cd /etc
rm *.db
rm passwd
cp -Rp . /start_floppy/etc/
pwd_mkdb master.passwd
echo " Done."
echo -n "Updating kernel parameters...  "
kget /start_floppy/boot/kernel.conf
umount /start_floppy
cd ${pwd}
echo " Done."
@


1.2
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/floppy.tree/etc/update,v 1.1 2000/02/08 14:20:54 luigi Exp $
@


1.1
log
@Cleanup of the default floppy tree for PicoBSD builds.

Approved-by: jordan
@
text
@d2 1
a2 1
# $FreeBSD$
d4 1
a4 1
set `df /` ; dev="/dev/$8"
d6 1
a6 1
mount ${dev} /mnt
d15 1
a15 1
cp -Rp . /mnt/etc/
d19 2
a20 2
kget /mnt/boot/kernel.conf
umount /mnt
@


1.1.4.1
log
@Add code to automatically map MAC address to IP (asking the user if
the mapping is unknown, and storing it to /etc/hosts).
Remove files which belong to mfs_tree
@
text
@d2 1
a2 1
# $FreeBSD: src/release/picobsd/floppy.tree/etc/update,v 1.1 2000/02/08 14:20:54 luigi Exp $
@


1.1.2.1
log
@MFC: sync Picobsd build structure with the one in -current.
This involves a cleanup of the build scripts, removing
common files from the individual trees and put them in a
common place, and remove unused stuff.
@
text
@@


1.1.2.2
log
@These files have been moved to another place
@
text
@d2 1
a2 1
# $FreeBSD: src/release/picobsd/floppy.tree/etc/update,v 1.1.2.1 2000/02/12 19:04:20 luigi Exp $
@


