diff options
Diffstat (limited to 'release/picobsd/floppy.tree/etc/mfs.rc')
-rw-r--r-- | release/picobsd/floppy.tree/etc/mfs.rc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/release/picobsd/floppy.tree/etc/mfs.rc b/release/picobsd/floppy.tree/etc/mfs.rc index 79fddf5..c82b583 100644 --- a/release/picobsd/floppy.tree/etc/mfs.rc +++ b/release/picobsd/floppy.tree/etc/mfs.rc @@ -14,16 +14,14 @@ export PATH trap "echo 'Reboot interrupted'; exit 1" 3 ### Special setup for one floppy PICOBSD ### -set `df /` ; dev="/dev/$8" -echo "Reading /etc from ${dev}..." -mount -o rdonly ${dev} /mnt -cd /mnt/etc ; cp -Rp . /etc/ -cp -Rp /mnt/root / +mount -o rdonly /dev/fd0 /start_floppy +cd /start_floppy/etc ; cp -Rp . /etc/ +cp -Rp /start_floppy/root / cd /etc gzip -d *.gz pwd_mkdb -p ./master.passwd -umount /mnt -echo "Ok. (Now you can remove ${dev} if you like)" +umount /start_floppy +echo "Ok. (Now you can remove /dev/fd0 if you like)" echo "" . rc exit 0 |