]> TLD Linux GIT Repositories - rc-scripts.git/blobdiff - rc.d/rc.shutdown
- PLD merge: vgchange -a n can hang on shutdown waiting for udevd synchronization...
[rc-scripts.git] / rc.d / rc.shutdown
index 96d78646403b283aa9b9eebad6877a12ff5e673e..8fab3cfec5383cba3feaca689215e77aa7f68e01 100755 (executable)
@@ -116,7 +116,7 @@ run_cmd "Remounting root filesystem in ro mode" mount -n -o remount,ro /
 if [ -x /sbin/vgchange ]; then
        lvmversion=$(LC_ALL=C /sbin/vgchange --version 2>/dev/null | awk '/LVM version:/{if ($3 >= 2) print "2"}')
        if [ "$lvmversion" = "2" ]; then
-               lvmsysinit="--sysinit"
+               lvmsysinit="--sysinit --noudevsync"
        else
                lvmsysinit=""
        fi