diff options
author | Christian Hesse <mail@eworm.de> | 2013-10-03 11:40:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-10-03 11:40:30 +0200 |
commit | 0bd36841fb6a526619c282a2feee87f7908a0dbf (patch) | |
tree | 979bab080cd6ac6ec946b39d32072a9356852ef5 /udev | |
parent | d4dd18af2c5672c71e5a01e7ef38d5b15fc3dc92 (diff) | |
download | mkinitcpio-ykfde-0bd36841fb6a526619c282a2feee87f7908a0dbf.tar.gz mkinitcpio-ykfde-0bd36841fb6a526619c282a2feee87f7908a0dbf.tar.zst |
fix behavior of inotifywait
Diffstat (limited to 'udev')
-rwxr-xr-x | udev/ykfde | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,6 +11,6 @@ ykchalresp -${YKFDE_SLOT:-2} "$(cat /ykfde-challenge)" 2>/dev/null | tr -d '\n' # if the systemd unit was faster try to answer password agent for REQUEST in $(grep -l '^Message=Please enter passphrase for disk' /run/systemd/ask-password/ask.* || \ - inotifywait /run/systemd/ask-password/ 2>/dev/null | awk '{ print $1 $3 }'); do + inotifywait -q --format %w%f -e MOVED_TO /run/systemd/ask-password/); do /usr/lib/systemd/systemd-reply-password 1 $(grep '^Socket=' ${REQUEST} | cut -d= -f2) < /crypto_keyfile.bin done |