[projects/rc-scripts] Keep sys mounted, too (lvm tools use these).
arekm
arekm at pld-linux.org
Wed Sep 22 08:52:55 CEST 2021
commit 0de30f3c80fa819fc8d3f4815251d63c1615ba98
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Sep 22 08:52:45 2021 +0200
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 d86f962e..b4f6e7eb 100755
--- a/rc.d/rc.shutdown
+++ b/rc.d/rc.shutdown
@@ -82,7 +82,7 @@ if ! is_yes "$VSERVER"; then
&& $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)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/rc-scripts.git/commitdiff/0de30f3c80fa819fc8d3f4815251d63c1615ba98
More information about the pld-cvs-commit
mailing list