From: Lionel Sambuc Date: Thu, 31 Dec 2015 17:41:27 +0000 (+0100) Subject: Fix umount order in setup.sh X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/howto.html?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F3279%2F3;p=minix.git Fix umount order in setup.sh Change-Id: Ife0c36b0fdc70e4b7ae86278d0df8d6d00d19df4 --- diff --git a/minix/commands/setup/setup.sh b/minix/commands/setup/setup.sh index d309b7a36..b4e54c38e 100644 --- a/minix/commands/setup/setup.sh +++ b/minix/commands/setup/setup.sh @@ -298,9 +298,9 @@ done # while step3 != ok root=${primary}s0 home=${primary}s1 usr=${primary}s2 -umount /dev/$root 2>/dev/null && echo "Unmounted $root for you." umount /dev/$home 2>/dev/null && echo "Unmounted $home for you." umount /dev/$usr 2>/dev/null && echo "Unmounted $usr for you." +umount /dev/$root 2>/dev/null && echo "Unmounted $root for you." devsizemb="`expr $devsize / 1024 / 2`" maxhome="`expr $devsizemb - $TOTALMB - 1`"