]> pd.if.org Git - startuptools/blobdiff - scripts/rc.shutdown
better handling of mdev and udev
[startuptools] / scripts / rc.shutdown
index 18915e1c0811ffbbe257fc0d186a1532412a20ef..533fce9114ac4848ed35d3a007e908fbc44b5916 100644 (file)
@@ -61,7 +61,7 @@ if is_true "$USELVM" && [ -x /sbin/vgchange ]; then
        status_check
 fi
 
-if [ -x /sbin/udevadm ]; then
+if [ -x /sbin/udevadm && is_true "$USE_UDEV" ]; then
        status_begin "Shutting down udev"
        /sbin/udevadm control --exit
        status_check