From d41eafedf75ba755f52b455a71b22a7728bc3f3b Mon Sep 17 00:00:00 2001 From: brooks Date: Tue, 1 Nov 2005 01:36:58 +0000 Subject: Add items to unmount to the front of the list so they are unmounted in reverse (thus allowing /conf to be unmounted). --- etc/rc.initdiskless | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc.initdiskless') 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 -- cgit v1.1