blob: 921eb6749d5e5c1f56cbd873515cacd247f8f303 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# $FreeBSD$
pwd=`pwd`
echo -n "Updating /etc contents on startup floppy... "
mount /dev/fd0a /start_floppy
if [ "X$?" != "X0" ]
then
echo ""
echo "Cannot mount the floppy read-write!"
echo "Check the write-protection..."
exit 1
fi
cd /etc
cp -Rp . /start_floppy/etc/
echo " Done."
echo -n "Updating kernel parameters... "
kget /start_floppy/boot/kernel.conf
umount /dev/fd0a
cd ${pwd}
echo " Done."
|