]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Keep sys mounted, too (lvm tools use these).
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 22 Sep 2021 06:52:45 +0000 (08:52 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 22 Sep 2021 06:52:45 +0000 (08:52 +0200)
rc.d/rc.shutdown

index d86f962e8d6d94039069a8404a06656c26d1eb90..b4f6e7ebb6c21a3961e5e6a170d9709847a5e37d 100755 (executable)
@@ -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)
This page took 0.154028 seconds and 4 git commands to generate.