21 lines
478 B
Bash
Executable File
21 lines
478 B
Bash
Executable File
#!/bin/sh
|
|
# $Id: update.en,v 1.4 1998/08/10 19:07:53 abial Exp $
|
|
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 -incore /start_floppy/kernel.config /stand/vanilla
|
|
umount /dev/fd0a
|
|
cd ${pwd}
|
|
echo " Done."
|