diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2005-12-10 02:14:35 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2005-12-10 02:14:35 +0000 |
| commit | a0514136c83d3520786f93c709972ec457a29e02 (patch) | |
| tree | a259eea98ab89d61b8c5a279b98cdae83868757d /etc/rc.initdiskless | |
| parent | c54f8d10f3d624ee308e2d723985cecad168675b (diff) | |
Notes
Diffstat (limited to 'etc/rc.initdiskless')
| -rw-r--r-- | etc/rc.initdiskless | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index 1b40f3b41c41..22712313cb80 100644 --- a/etc/rc.initdiskless +++ b/etc/rc.initdiskless @@ -269,7 +269,7 @@ for i in ${templates} ; do nfspt=`/bin/cat $j/remount` $nfspt $j chkerr $? "$nfspt $j" - to_umount="${to_umount} $j" # XXX hope it is really a mount! + to_umount="$j ${to_umount}" # XXX hope it is really a mount! fi # NFS remount @@ -281,7 +281,7 @@ for i in ${templates} ; do fi mount_nfs $nfspt $j chkerr $? "mount_nfs $nfspt $j" - to_umount="${to_umount} $j" + to_umount="$j ${to_umount}" fi done done @@ -309,7 +309,7 @@ for i in ${templates} ; do if [ -f $j ]; then create_md $subdir echo "Loading /$subdir from cpio archive $j" - (cd / ; /rescue/pax -x cpio -r -z -p e -f $j) + (cd / ; /rescue/tar -xpf $j) fi done for j in /conf/$i/*.remove ; do |
