X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=scripts%2Frc.shutdown;fp=scripts%2Frc.shutdown;h=ee5c439ac476eb234f446cf3a3263dbd89105639;hp=a07cc9a2f9dc27b8b7131a5063f599dfe0162e63;hb=099711515bc014843a06e1aa9b13f1b40d777327;hpb=ac717c230bd1cbe5096403d8866f72f2d6d08838 diff --git a/scripts/rc.shutdown b/scripts/rc.shutdown index a07cc9a..ee5c439 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 && is_true "$USE_UDEV" ; then +if [ -x /sbin/udevadm ] && is_true "$USE_UDEV" ; then status_begin "Shutting down udev" /sbin/udevadm control --exit status_check