X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=scripts%2Frc.shutdown;h=8f324e4e81768c3675bb2549a3d578c6a76c7757;hb=HEAD;hp=18915e1c0811ffbbe257fc0d186a1532412a20ef;hpb=050cb10bd5f4f2460b17ba11f22c9fed0bdea56c;p=startuptools diff --git a/scripts/rc.shutdown b/scripts/rc.shutdown index 18915e1..8f324e4 100644 --- a/scripts/rc.shutdown +++ b/scripts/rc.shutdown @@ -36,7 +36,7 @@ kill_all() { fi } -text -x /etc/rc.local.shutdown && /etc/rc.local.shutdown +test -x /etc/rc.local.shutdown && /etc/rc.local.shutdown reverse() { local rev @@ -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