summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-09 17:15:03 -0400
committerRay Strode <rstrode@redhat.com>2008-06-09 17:15:03 -0400
commit1ab7b82893ea1226cebd9497e3d208693d887c57 (patch)
treedfbf97e475acbe0db2a94fed466b6d656638f45d /scripts
parent16418b38ea91bd26302297f0fb1bfe68b5ce74c7 (diff)
downloadplymouth-1ab7b82893ea1226cebd9497e3d208693d887c57.tar.gz
plymouth-1ab7b82893ea1226cebd9497e3d208693d887c57.tar.xz
plymouth-1ab7b82893ea1226cebd9497e3d208693d887c57.zip
update initrd script to work with nash changes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plymouth-update-initrd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/plymouth-update-initrd b/scripts/plymouth-update-initrd
index 8793ba1..363c44c 100755
--- a/scripts/plymouth-update-initrd
+++ b/scripts/plymouth-update-initrd
@@ -31,8 +31,8 @@ TMPDIR="$(mktemp -d $PWD/initrd.XXXXXXXXXX)"
(cd $TMPDIR
zcat $INITRD | cpio --quiet -Hnewc -i --make-directories
- sed -i -e 's@^#!\(.*\)@#!/bin/plymouthd \1\n@' init
- sed -i -e 's@setquiet@&\n/bin/plymouth --show-splash\n/bin/plymouth --ask-for-password\n@' init
+ sed -i -e 's@mknod /dev/ttyS3 c 4 67@&\nmknod /dev/fb c 29 0\nmknod /dev/fb0 c 29 0\ndaemonize /bin/plymouthd\n/bin/plymouth --show-splash\n@' init
+ sed -i -e 's@switchroot@&\n/bin/plymouth --newroot /sysroot\n&\n@' init
(cd $LIBDIR
DEPS=$(get_lib_deps ${LIBEXECDIR}/plymouth/plymouthd ${BINDIR}/plymouth ${LIBDIR}/plymouth/spinfinity.so ${LIBDIR}/plymouth/text.so ${LIBDIR}/plymouth/details.so)
for dep in $DEPS; do