From b8624e3cd05258a81a7e3cf4d95e2dcd81fe0aa4 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 21 May 2008 22:57:40 -0400 Subject: 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. --- scripts/plymouth-update-initrd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit