diff options
author | setje <none@none> | 2006-09-19 15:34:23 -0700 |
---|---|---|
committer | setje <none@none> | 2006-09-19 15:34:23 -0700 |
commit | ef4c14d24cff432d9d11d0a63d2676aa5d58fefe (patch) | |
tree | 864df9d9e7662fa532663d2def437cfed802ad9d /usr/src | |
parent | dffe6dfdb1d8eb284d0bd0625c028c38d633429c (diff) | |
download | illumos-gate-ef4c14d24cff432d9d11d0a63d2676aa5d58fefe.tar.gz |
6471546 umountall should only run bootadm when unmouting everything
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/cmd/initpkg/umountall.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/cmd/initpkg/umountall.sh b/usr/src/cmd/initpkg/umountall.sh index 17c201fed0..98fcbe72e6 100644 --- a/usr/src/cmd/initpkg/umountall.sh +++ b/usr/src/cmd/initpkg/umountall.sh @@ -3,9 +3,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -167,9 +166,9 @@ fi ZONENAME=`zonename` -# Check and if needed sync the boot archive before unmounting things. +# Check and if needed sync the boot archive before unmounting everything. # -if [ -z "${RFLAG}${NFLAG}${HFLAG}" -a "$ZONENAME" = "global" -a \ +if [ -z "${RFLAG}${NFLAG}${HFLAG}${FSType}" -a "$ZONENAME" = "global" -a \ `uname -p` = "i386" -a -x /sbin/bootadm ] ; then /sbin/bootadm -a update_all fi |