From e38ec2431728fcec8a4546721f2011eba14c8aa1 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 12 Oct 2013 22:01:33 +0200 Subject: [PATCH] initrd.defaults: use /usr/bin/plymouthd if /sbin/plymouthd is not available --- defaults/initrd.defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/defaults/initrd.defaults b/defaults/initrd.defaults index e633ab4..8e2a19d 100755 --- a/defaults/initrd.defaults +++ b/defaults/initrd.defaults @@ -61,7 +61,10 @@ UDEVD='/sbin/udevd' MDEVD='/sbin/mdev' INITRD_SPLASH='/etc/initrd.splash' +# latest plymouth ebuild in gentoo has it in /usr/bin PLYMOUTHD_BIN='/sbin/plymouthd' +[ ! -e "${PLYMOUTHD_BIN}" ] && PLYMOUTHD_BIN='/usr/bin/plymouthd' + PLYMOUTH_BIN='/bin/plymouth' REAL_ROOT='' CONSOLE='/dev/console'