diff options
author | brooks <brooks@FreeBSD.org> | 2005-11-01 01:36:58 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-11-01 01:36:58 +0000 |
commit | d41eafedf75ba755f52b455a71b22a7728bc3f3b (patch) | |
tree | 9fecfeec3cdb368877d5548d4515f20891b27d48 | |
parent | 419a678b5ed2726669802447de5ae70e551bdc4c (diff) | |
download | FreeBSD-src-d41eafedf75ba755f52b455a71b22a7728bc3f3b.zip FreeBSD-src-d41eafedf75ba755f52b455a71b22a7728bc3f3b.tar.gz |
Add items to unmount to the front of the list so they are unmounted in
reverse (thus allowing /conf to be unmounted).
-rw-r--r-- | etc/rc.initdiskless | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index 4e77e74..2271231 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 |