Deleted Added
full compact
2,5d1
< # $FreeBSD: head/release/picobsd/mfs_tree/etc/rc 78542 2001-06-21 08:53:21Z luigi $
< ### Special setup for one floppy PICOBSD ###
< # WARNING !!! We overwrite this file during execution with a new rc file.
< # Awful things happen if this file's size is > 1024B
12,13c8
< PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
< export PATH
---
> PATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH
15d9
< cp -p /etc/rc /etc/rc.master
18,23c12,16
< echo "Reading from MFS ..."
< cd /fd; cp -Rp etc root / ; cd /
< ls /dev
< echo "Reading /etc from ${dev}..."
< mount -o rdonly ${dev} /fd
< cd /fd; cp -Rp etc root / ; cd / ; umount /fd
---
> echo "Loading /etc from MFS:/fd ..."
> cp -Rp /fd/* /
> echo "Updating /etc from ${dev}..."
> mount -o rdonly ${dev} /fd && \
> { cd /fd; cp -Rp etc root / ; cd / ; umount /fd ; }
27,29c20
< if [ -f $i.gz ]; then
< rm $i
< fi
---
> [ -f $i.gz ] && rm $i
32,35c23
< pwd_mkdb -p ./master.passwd
< echo "Ok. (Now you can remove ${dev} if you like)"
< echo ""
< . rc
---
> . rc1