summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenya Sovetkin2015-06-15 15:07:09 +0200
committerJenya Sovetkin2015-06-15 15:07:09 +0200
commit74048c20e9b8cc10138fcf16b6ff703f0f600e50 (patch)
tree2c242548cf94aa162970ccb82db279362db04117
parentf82c9aa4ac2cb3cdabcbaa78b296d6ceacd71b8d (diff)
downloadaur-74048c20e9b8cc10138fcf16b6ff703f0f600e50.tar.gz
The device with keys is now being awaited not for
10 seconds, but rather for a user input.
-rw-r--r--encrypt2.hook3
1 files changed, 2 insertions, 1 deletions
diff --git a/encrypt2.hook b/encrypt2.hook
index a70f5ff654a5..b4e298711028 100644
--- a/encrypt2.hook
+++ b/encrypt2.hook
@@ -2,7 +2,8 @@ run_hook ()
{
source encrypt2.conf
echo "Waiting 10 seconds for device $cryptkey_device ..."
- sleep 10
+ read dummy
+ unset dummy
mkdir encrypt2_device
mount $cryptkey_device encrypt2_device &> /dev/null