From: Harald Hoyer Date: Mon, 30 Jul 2012 11:39:37 +0000 (+0200) Subject: plymouth/plymouth-newroot.sh: fixed pre-pivot hook X-Git-Tag: 023~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171ba532bc93951bb06c8bc1acdc80718dc306e4;p=thirdparty%2Fdracut.git plymouth/plymouth-newroot.sh: fixed pre-pivot hook --- diff --git a/modules.d/50plymouth/plymouth-newroot.sh b/modules.d/50plymouth/plymouth-newroot.sh index 2ffc92939..c5f1e56d2 100755 --- a/modules.d/50plymouth/plymouth-newroot.sh +++ b/modules.d/50plymouth/plymouth-newroot.sh @@ -2,5 +2,5 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh -[ -x /bin/plymouth ! -x /lib/systemd/systemd ] || exit 0 +[ -x /bin/plymouth -a ! -x /lib/systemd/systemd ] || exit 0 /bin/plymouth --newroot=$NEWROOT