X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=rc.d%2Frc.shutdown;fp=rc.d%2Frc.shutdown;h=02246c314a99fc7ec282fd22bab61ca846e8ad12;hb=9688f03ab823fc09f097de03b48bcbd46b7db6ff;hp=8fab3cfec5383cba3feaca689215e77aa7f68e01;hpb=ab1fdb56eae724010c5c1eb3542e3c54691597a4;p=rc-scripts.git diff --git a/rc.d/rc.shutdown b/rc.d/rc.shutdown index 8fab3cf..02246c3 100755 --- a/rc.d/rc.shutdown +++ b/rc.d/rc.shutdown @@ -81,7 +81,7 @@ remaining=$(awk -v ig="^($UMOUNT_IGNORE)$" 'BEGIN { gsub(/[\t ]+/, "|", ig); } \ && $2 !~ ig {print $2}' /proc/mounts) while [ -n "$remaining" -a "$retry" -gt 0 ]; do show "Unmounting file systems"; busy - ERRORS=$(umount -a $force -t noproc 2>&1); rc=$? + ERRORS=$(umount -a $force -t noproc,nosysfs 2>&1); rc=$? # we might had unmounted /usr, recheck $TPUT availability # but well. we need tput only for show() and busy() (ok() and fail() messages are already cached)