commit 0de30f3c80fa819fc8d3f4815251d63c1615ba98
Author: Arkadiusz Miƛkiewicz <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to