Browse Source

plymouth/plymouth-pretrigger.sh: s/! -n/-z/

master
Harald Hoyer 12 years ago
parent
commit
4a6b33f1ee
  1. 2
      modules.d/50plymouth/plymouth-pretrigger.sh

2
modules.d/50plymouth/plymouth-pretrigger.sh

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

if [ -x /bin/plymouthd -a ! -n "$DRACUT_SYSTEMD" ]; then
if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
if getargbool 1 plymouth.enable && getargbool 1 rd.plymouth -d -n rd_NO_PLYMOUTH; then
# first trigger graphics subsystem
udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1

Loading…
Cancel
Save