[pkg-cryptsetup-devel] [PATCH 1/2] cryptopensc-script-local-*: fix path to pcscd

Andreas Oberritter obi at saftware.de
Wed May 31 21:26:51 UTC 2017


---
 debian/initramfs/cryptopensc-script-local-bottom | 2 +-
 debian/initramfs/cryptopensc-script-local-top    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/initramfs/cryptopensc-script-local-bottom b/debian/initramfs/cryptopensc-script-local-bottom
index d1cd1ab..a99c6ea 100644
--- a/debian/initramfs/cryptopensc-script-local-bottom
+++ b/debian/initramfs/cryptopensc-script-local-bottom
@@ -20,7 +20,7 @@ esac
 
 # Hook for stopping smartcard reading software
 
-if [ ! -e /sbin/pcscd ]; then
+if [ ! -e /usr/sbin/pcscd ]; then
     exit 0
 fi
 
diff --git a/debian/initramfs/cryptopensc-script-local-top b/debian/initramfs/cryptopensc-script-local-top
index eb163f8..3bad5f4 100644
--- a/debian/initramfs/cryptopensc-script-local-top
+++ b/debian/initramfs/cryptopensc-script-local-top
@@ -20,7 +20,7 @@ esac
 
 # Hook for starting smartcard reading software
 
-if [ ! -e /sbin/pcscd ]; then
+if [ ! -e /usr/sbin/pcscd ]; then
     exit 0
 fi
 
@@ -33,4 +33,4 @@ fi
 # pcscd uses syslog which is not available (use --error or --critical to filter
 # out debug message clutter):
 #    /sbin/pcscd --error --foreground &
-/sbin/pcscd --foreground &
+/usr/sbin/pcscd --foreground &
-- 
2.11.0




More information about the pkg-cryptsetup-devel mailing list