X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=scripts%2Frc.shutdown;fp=scripts%2Frc.shutdown;h=533fce9114ac4848ed35d3a007e908fbc44b5916;hp=18915e1c0811ffbbe257fc0d186a1532412a20ef;hb=bda2fccd8c53c14d154db28729aaaf65f61b3f4f;hpb=05b7411b8c549890302661a6fff2172cd83c0105 diff --git a/scripts/rc.shutdown b/scripts/rc.shutdown index 18915e1..533fce9 100644 --- a/scripts/rc.shutdown +++ b/scripts/rc.shutdown @@ -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