summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-21 22:57:40 -0400
committerRay Strode <rstrode@redhat.com>2008-05-21 22:57:40 -0400
commitb8624e3cd05258a81a7e3cf4d95e2dcd81fe0aa4 (patch)
treeb9026ccd834ec9887de61b6c23e3776493ce5665 /scripts
parentb5b6fb666d44738296b7cb1c0950ee2226493e34 (diff)
downloadplymouth-b8624e3cd05258a81a7e3cf4d95e2dcd81fe0aa4.tar.gz
plymouth-b8624e3cd05258a81a7e3cf4d95e2dcd81fe0aa4.tar.xz
plymouth-b8624e3cd05258a81a7e3cf4d95e2dcd81fe0aa4.zip
Add second cut at password support
This version works even in raw mode, by buffering key presses passed from the window object, and replying to the client after the user presses enter. There are a lot of layers of function pointers getting passed around, so it may make sense to introduce an opaque type for holding the password and triggering the reply.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plymouth-update-initrd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/plymouth-update-initrd b/scripts/plymouth-update-initrd
index 99032ae..2615f54 100755
--- a/scripts/plymouth-update-initrd
+++ b/scripts/plymouth-update-initrd
@@ -31,7 +31,7 @@ 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@' init
+ sed -i -e 's@setquiet@&\n/bin/plymouth --show-splash\n/bin/plymouth --ask-for-password@' init
(cd $LIBDIR
DEPS=$(get_lib_deps ${LIBEXECDIR}/plymouth/plymouth ${LIBDIR}/plymouth/fedora-fade-in.so ${LIBDIR}/plymouth/text.so ${LIBDIR}/plymouth/details.so)
for dep in $DEPS; do