diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-07-28 21:18:20 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-07-28 21:18:20 +0200 |
commit | e7d2b2e7548e2a618321c3530f8a7b7c300300e1 (patch) | |
tree | 97c6be14976cf20a10ea1bb398578d11ce0aed07 /package/cryptinit | |
parent | 03db81babfc6ba4f21ceb26aa15fd0a208075b92 (diff) |
finetune smartcard support
Diffstat (limited to 'package/cryptinit')
-rwxr-xr-x | package/cryptinit/src/cryptinitsc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/cryptinit/src/cryptinitsc b/package/cryptinit/src/cryptinitsc index f8d101877..c29e231ee 100755 --- a/package/cryptinit/src/cryptinitsc +++ b/package/cryptinit/src/cryptinitsc @@ -26,7 +26,7 @@ done mount /dev/sda1 /boot mkdir -p /var/run/openct openct-control init -pcscd -f & +pcscd -f >/dev/null & sleep 2 fail=0 @@ -57,9 +57,9 @@ echo "254:0" > /sys/power/resume cryptsetup -d /tmp/skey --batch-mode luksOpen $root rootcrypt swapon /dev/mapper/swapcrypt mount /dev/mapper/rootcrypt /mnt +pkill pcscd +rm /tmp/skey umount /proc umount /sys umount /dev/pts -rm /tmp/skey -pkill pcscd umount /tmp |