From 9688f03ab823fc09f097de03b48bcbd46b7db6ff Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 21 May 2024 18:54:13 +0200 Subject: [PATCH] - PLD merge: keep sys mounted, too (lvm tools use these) --- rc.d/rc.shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2