TLD
/
rc-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab1fdb5
)
- PLD merge: keep sys mounted, too (lvm tools use these)
author
Marcin Krol
<hawk@tld-linux.org>
Tue, 21 May 2024 16:54:13 +0000
(18:54 +0200)
committer
Marcin Krol
<hawk@tld-linux.org>
Tue, 21 May 2024 16:54:13 +0000
(18:54 +0200)
rc.d/rc.shutdown
patch
|
blob
|
history
diff --git
a/rc.d/rc.shutdown
b/rc.d/rc.shutdown
index 8fab3cfec5383cba3feaca689215e77aa7f68e01..02246c314a99fc7ec282fd22bab61ca846e8ad12 100755
(executable)
--- 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)