X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=scripts%2Frc.shutdown;h=8f324e4e81768c3675bb2549a3d578c6a76c7757;hb=07d48467c9c6dc0edab652c0994d0973240e7997;hp=a07cc9a2f9dc27b8b7131a5063f599dfe0162e63;hpb=ac717c230bd1cbe5096403d8866f72f2d6d08838;p=startuptools diff --git a/scripts/rc.shutdown b/scripts/rc.shutdown index a07cc9a..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 && 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