]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Check /sbin/plymouthd for arch instead of /proc/$$/exe. /sbin/plymouthd is guaranteed...
authorWarren Togami <wtogami@redhat.com>
Thu, 21 May 2009 00:35:08 +0000 (20:35 -0400)
committerWarren Togami <wtogami@redhat.com>
Thu, 21 May 2009 16:15:58 +0000 (12:15 -0400)
modules.d/50plymouth-pre0.7/plymouth-populate-initrd
modules.d/50plymouth/plymouth-populate-initrd

index e195ddc9c9e7b682a485d5118f04cde0d358ce68..1802b257d3e8ba6b72992ff7337d18edba96f03e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-if ldd /proc/$$/exe |grep -q lib64; then
+if ldd /sbin/plymouthd |grep -q lib64; then
     LIBDIR="/usr/lib64"
 else
     LIBDIR="/usr/lib"
index df6e7c5115bc11d6fca33c3d476001777b3d538b..f3c67f1b63531c6a51b6b37a13872e2ac7236e4e 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-if ldd /proc/$$/exe |grep -q lib64; then
+if ldd /sbin/plymouthd |grep -q lib64; then
     LIBDIR="/usr/lib64"
 else
     LIBDIR="/usr/lib"