From: Harald Hoyer Date: Wed, 30 Mar 2011 14:24:57 +0000 (+0200) Subject: plymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth X-Git-Tag: 010~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ee30d09a44601d54567d7d51c84b2d714dd8e0f;p=platform%2Fupstream%2Fdracut.git plymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth --- diff --git a/modules.d/50plymouth/plymouth-pretrigger.sh b/modules.d/50plymouth/plymouth-pretrigger.sh index d560d6f..477975f 100755 --- a/modules.d/50plymouth/plymouth-pretrigger.sh +++ b/modules.d/50plymouth/plymouth-pretrigger.sh @@ -17,8 +17,8 @@ if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then [ -e /dev/fb ] || ln -s fb0 /dev/fb info "Starting plymouth daemon" - [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session - >/run/initramfs/plymouth + mkdir -m 0755 -p /run/plymouth + [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session --pid-file /run/plymouth/pid [ -x /lib/udev/console_init ] && /lib/udev/console_init tty0 /bin/plymouth --show-splash 2>&1 | vinfo fi