Date: Mon, 2 Oct 2000 00:25:26 +0200 (IST) From: Roman Shterenzon <roman@xpert.com> To: freebsd-small@freebsd.org Subject: [patch] for net flavor Message-ID: <Pine.LNX.4.10.10010020019310.5927-100000@jamus.xpert.com>
next in thread | raw e-mail | index | archive | help
Hello,
I forgot to include this patch to make net work.
Since all files in etc on floppy are gzipped:
--- /usr/src/release/picobsd/net/floppy.tree/etc/mfs.rc Sat Aug 28
04:33:40 1999
+++ release/picobsd/net/floppy.tree/etc/mfs.rc Fri Sep 29 18:45:01 2000
@@ -26,6 +26,7 @@
cd /start_floppy/etc
cp -Rp . /etc/
cd /etc
+gzip -d *.gz
pwd_mkdb -p ./master.passwd
umount /start_floppy
echo "Ok. (Now you can remove floppy if you like)"
--
And a patch for update script:
--- /usr/src/release/picobsd/floppy.tree/etc/update Tue Feb 8
16:20:54 2000
+++ update Fri Sep 29 18:37:08 2000
@@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD: src/release/picobsd/floppy.tree/etc/update,v 1.1 2000/02/08
14:20:54 luigi Exp $
pwd=`pwd`
-set `df /` ; dev="/dev/$8"
+dev="/dev/fd0"
echo -n "Updating /etc contents on ${dev}... "
mount ${dev} /mnt
if [ "X$?" != "X0" ] ; then
@@ -12,7 +12,10 @@
cd /etc
rm *.db
rm passwd
-cp -Rp . /mnt/etc/
+for i in *
+do
+ gzip -9 $i > /mnt/etc/$i.gz
+done
pwd_mkdb master.passwd
echo " Done."
echo -n "Updating kernel parameters... "
--
haven't tried the modified update though, perhaps I'm missing something.
The original fails for sure :)
--Roman Shterenzon, UNIX System Administrator and Consultant
[ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10010020019310.5927-100000>
