diff options
Diffstat (limited to 'usr/share/initramfs-tools/hooks')
-rwxr-xr-x | usr/share/initramfs-tools/hooks/cryptlukssc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/share/initramfs-tools/hooks/cryptlukssc b/usr/share/initramfs-tools/hooks/cryptlukssc index 6a9c067..8dc14ab 100755 --- a/usr/share/initramfs-tools/hooks/cryptlukssc +++ b/usr/share/initramfs-tools/hooks/cryptlukssc @@ -38,7 +38,12 @@ else fi copy_exec /lib/libpcsclite.so.1 /lib cp -r /usr/lib/pcsc ${DESTDIR}/usr/lib -cp /etc/reader.conf ${DESTDIR}/etc +if [ -e /etc/reader.conf.d ] +then + cp -Rp /etc/reader.conf.d ${DESTDIR}/etc/ +else + cp /etc/reader.conf ${DESTDIR}/etc +fi # Install opensc commands and conf file copy_exec /usr/bin/opensc-tool /bin |